Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue setting up allOrigins on server #48

Open
RileyXX opened this issue Nov 9, 2019 · 0 comments
Open

Issue setting up allOrigins on server #48

RileyXX opened this issue Nov 9, 2019 · 0 comments

Comments

@RileyXX
Copy link

RileyXX commented Nov 9, 2019

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:

  1. 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.
  2. 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant