I call Manticore search by JS from other domain and fails because the manticore response doesn’t have the ‘Access-Control-Allow-Origin’ header.
This is the browser error:
Access to XMLHttpRequest at ‘https://manticore.domain:9308/search’ from origin ‘https://otherdomain.com’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Thanks, so far I have configured a proxy that adds the necessary CORS headers and forces a 200 response when the CORS preflight makes a request to the OPTIONS method.