+
Skip to content

Handle CORS Policy errors #341

@r0227n

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.

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

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载