Mentions légales du service

Skip to content

New location rule to manage CORS for API only.

LETORT Sebastien requested to merge 314-make-the-api-cors-compliant into django

Closes #314 (closed)
I duplicated the @Django block to make a location /api/v1 one.
I'm not sure this is the optimal, but otherwise I would have used an 'if', which is said to be evil. https://www.nginx.com/resources/wiki/start/topics/depth/ifisevil/

Merge request reports