re
Showing
1 changed file
with
3 additions
and
1 deletions
| ... | @@ -19,6 +19,8 @@ class Cors | ... | @@ -19,6 +19,8 @@ class Cors |
| 19 | 19 | ||
| 20 | return $next($request)->header('Access-Control-Allow-Origin' , 'http://contact.gotenzing.com') | 20 | return $next($request)->header('Access-Control-Allow-Origin' , 'http://contact.gotenzing.com') |
| 21 | ->header('Access-Control-Allow-Methods', 'POST, GET, OPTIONS, PUT, DELETE') | 21 | ->header('Access-Control-Allow-Methods', 'POST, GET, OPTIONS, PUT, DELETE') |
| 22 | ->header('Access-Control-Allow-Headers', 'Content-Type, Accept, Authorization, X-Requested-With'); | 22 | ->header('Access-Control-Allow-Headers', 'Content-Type, Accept, Authorization, X-Requested-With') |
| 23 | ->header('Content-type: text/html'); | ||
| 24 | ; | ||
| 23 | } | 25 | } |
| 24 | } | 26 | } | ... | ... |
-
Please register or sign in to post a comment