RDCEP / EDE

MIT License
2 stars 1 forks source link

Access-Control-Allow-Origin #36

Open njmattes opened 8 years ago

njmattes commented 8 years ago

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 commented 8 years ago

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.