From ba796852759721d6b35fd13b7ac090a374520fa1 Mon Sep 17 00:00:00 2001 From: Ruben Date: Thu, 3 Nov 2016 03:39:01 +0100 Subject: [PATCH] cors fix --- www/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/index.php b/www/index.php index d24f4a7..b0340e4 100644 --- a/www/index.php +++ b/www/index.php @@ -25,11 +25,11 @@ $http_origin = $_SERVER['HTTP_ORIGIN']; if ($http_origin == "https://emotionhero.com" || $http_origin == "http://emotionhero.com") { header("Access-Control-Allow-Origin: $http_origin"); -} // header("Access-Control-Allow-Origin: https://emotionhero.com"); header("Access-Control-Allow-Methods: POST, GET, OPTIONS"); header("Access-Control-Allow-Headers: X-PINGOTHER"); header("Access-Control-Max-Age: 1728000"); +} /* * JWT setup