d
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -20,7 +20,7 @@ class Cors | ... | @@ -20,7 +20,7 @@ class Cors |
| 20 | ->header('Access-Control-Allow-Origin', $_SERVER['HTTP_ORIGIN']) | 20 | ->header('Access-Control-Allow-Origin', $_SERVER['HTTP_ORIGIN']) |
| 21 | // Depending of your application you can't use '*' | 21 | // Depending of your application you can't use '*' |
| 22 | // Some security CORS concerns | 22 | // Some security CORS concerns |
| 23 | //->header('Access-Control-Allow-Origin', '*') | 23 | ->header('Access-Control-Allow-Origin', '*') |
| 24 | ->header('Access-Control-Allow-Methods', 'POST, OPTIONS') | 24 | ->header('Access-Control-Allow-Methods', 'POST, OPTIONS') |
| 25 | ->header('Access-Control-Allow-Credentials', 'true') | 25 | ->header('Access-Control-Allow-Credentials', 'true') |
| 26 | ->header('Access-Control-Max-Age', '10000') | 26 | ->header('Access-Control-Max-Age', '10000') | ... | ... |
-
Please register or sign in to post a comment