corydolphin / flask-cors

Cross Origin Resource Sharing ( CORS ) support for Flask
https://flask-cors.readthedocs.io/en/latest/index.html
MIT License
884 stars 139 forks source link

Make default allowed origin the request origin instead of wildcard? #278

Closed gold432 closed 4 years ago

corydolphin commented 4 years ago

Hey @edge37v I went back and forth on this, but ended up using a wildcard because it (in combination with origin:vary, which is sent automatically) allows for better integration with CDNs. Is this causing an issue for you? I'd be interested to hear more.

Thanks, Cory

gold432 commented 4 years ago

It's cool, figured out to add it in the response