Commit 6c7738d1c2c4d6749f5b699c032bb8092fda1492

Authored by Rohan Rangray
Exists in master

Merge branch 'master' of https://git.ucsd.edu/110swag/flashy-backend

Finished writing tests.

Showing 1 changed file Side-by-side Diff

nginxconf/flashy.cards View file @ 6c7738d
... ... @@ -26,7 +26,7 @@
26 26 add_header 'Access-Control-Allow-Origin' 'http://localhost';
27 27 add_header 'Access-Control-Allow-Credentials' 'true';
28 28 add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PATCH, PUT';
29   - add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,Origin,Authorization,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
  29 + add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,Origin,Authorization,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-CSRFToken';
30 30 proxy_pass http://backend_production;
31 31 proxy_redirect http://backend_production $scheme://flashy.cards;
32 32 proxy_set_header Host $host;