This commit is contained in:
Ruben 2016-11-03 00:58:32 +01:00
parent 553d386e85
commit 8d4dc1b414

View file

@ -21,6 +21,11 @@ if(ini_get('max_file_uploads') < 50) {
throw new Exception("php directive 'max_file_uploads' should be >= 50"); throw new Exception("php directive 'max_file_uploads' should be >= 50");
} }
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 * JWT setup
*/ */