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

Access-Control-Allow-Origin #36

Open
njmattes opened this issue Aug 1, 2016 · 1 comment
Open

Access-Control-Allow-Origin #36

njmattes opened this issue Aug 1, 2016 · 1 comment
Assignees

Comments

@njmattes
Copy link
Contributor

njmattes commented Aug 1, 2016

API responses need to include an Access-Control-Allow-Origin header (which can have the value *) in order to support cross domain access from the ATLAS domain.

@njmattes njmattes assigned njmattes and ghost Aug 1, 2016
@njmattes
Copy link
Contributor Author

njmattes commented Aug 1, 2016

For the time being, I'm running the API behind uWSGI and NGINX, and adding this header in the NGINX configuration. It may be that we want to explicitly add it in the flask app so that it doesn't depend on the particulars of the deployment.

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

1 participant