Skip to content

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

@nunomorgadinho

Description

@nunomorgadinho

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions