allOrigins
allOrigins copied to clipboard
Issue setting up allOrigins on server
So I was able to install allOrigins on my server successfully however I'm having issues with CORS on subdomain I have it installed on. I have allOrigins setup on my domain as cors.mydomain.com. When I try to make a request from www.mydomain.com I get the following errors:
- Access to XMLHttpRequest at 'https://cors.mydomain.com/raw?url=https://youtube.com' from origin 'https://www.mydomain.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- GET https://www.mydomain.com/raw?url=https://youtube.com 403
I created a .htaccess file set it in the cors.mydomain.com root folder to allow requests from mydomain.com but that didn't seem to do anything. Is there some kind of config file I need to modify in order to allow requests from certain domains?