From 5e1d4af4a4173a9093971381c5b2704d72dec189 Mon Sep 17 00:00:00 2001 From: Andrew Buss Date: Tue, 5 May 2015 02:59:37 -0700 Subject: [PATCH] welp now localhost works --- nginxconf/flashy.cards | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginxconf/flashy.cards b/nginxconf/flashy.cards index 905e567..a573c06 100644 --- a/nginxconf/flashy.cards +++ b/nginxconf/flashy.cards @@ -23,7 +23,7 @@ server { } location ~ /(api|admin|api-auth)/ { - add_header 'Access-Control-Allow-Origin' 'http://local.flashy.cards'; + add_header 'Access-Control-Allow-Origin' 'http://localhost'; add_header 'Access-Control-Allow-Credentials' 'true'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PATCH, PUT'; 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'; -- 1.9.1