Commit 5e1d4af4a4173a9093971381c5b2704d72dec189

Authored by Andrew Buss
1 parent 6c4d00476c
Exists in master

welp now localhost works

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

nginxconf/flashy.cards View file @ 5e1d4af
... ... @@ -23,7 +23,7 @@
23 23 }
24 24  
25 25 location ~ /(api|admin|api-auth)/ {
26   - add_header 'Access-Control-Allow-Origin' 'http://local.flashy.cards';
  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 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';