Disable Allow Origin

client
sundowndev 2018-09-08 19:16:17 +02:00
parent 6e2c873e4d
commit 53f5f8f2aa
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ class JsonResponse
];
//header('Access-Control-Allow-Origin: ' . getenv('ALLOW_ORIGIN'));
header("Access-Control-Allow-Origin: http://localhost:3000");
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Headers: Origin, Content-Type, X-Auth-Token, Authorization");
header("Access-Control-Allow-Credentials: true");
header('Access-Control-Max-Age: 1');