Skip to content

Handle CORS Policy errors #341

Description

@r0227n

I need a solution to the CORS problem in the production environment.

Access to XMLHttpRequest at 'https://api.github.com/repos/<username>/<repo name>' from origin 'http://localhost:8080' has been blocked by CORS policy: Request header field x-github-api-version is not allowed by Access-Control-Allow-Headers in preflight response.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions