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

CORS configuration #18

Open
jmoore34 opened this issue Dec 25, 2022 · 2 comments
Open

CORS configuration #18

jmoore34 opened this issue Dec 25, 2022 · 2 comments

Comments

@jmoore34
Copy link

Assuming a default CORS configuration, it seems it's only possible to make a GET request to app.piratepx.com (namely the /ship endpoint) from:

  • the same domain (i.e. piratepx.com)
  • a non-browser client such as curl

More info here: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

@jstayton
Copy link
Member

jstayton commented Jan 2, 2023

Hey @jmoore34 – Hmmm. It's true that only GET /ship supports CORS, but it should allow any origin. To help me reproduce, what specifically are you trying to do?

@jmoore34
Copy link
Author

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

2 participants