Closed vsong closed 1 year ago
Currently searchByItem.php and filters.php do not have a CORS header, preventing AJAX requests from the browser. This PR adds a helper script to set the CORS header on unrestricted API endpoints.
Currently searchByItem.php and filters.php do not have a CORS header, preventing AJAX requests from the browser. This PR adds a helper script to set the CORS header on unrestricted API endpoints.