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

Changing Access-Control-Allow-Origin header from https to http #16

Open
nunomorgadinho opened this issue Aug 31, 2016 · 0 comments
Open

Comments

@nunomorgadinho
Copy link

After I enable the frontend I get:

GET https://s3-eu-central-1.amazonaws.com/myblogcomments-../comments.json 403 (Forbidden)

And when posting:

"Fetch API cannot load https://xxx.execute-api.eu-central-1.amazonaws.com/prod/comments. Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header has a value 'https://www.website.org' that is not equal to the supplied origin. Origin 'http://www.website.org' is therefore not allowed access. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled."

I can't seem to be able to change from https to http, any hint on how to change it?

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