Skip to content

CORS requests inside a browser are blocked #41

Description

@sebagr

I'm trying to connect to the simulator from my website, but CORS requests are being blocked:

Access to fetch at 'http://localhost:8080/api/v1/telescope/0/utcdate' from origin 'https://local.mysite.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Does Alpaca handle CORS requests? Does the Simulator?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions