f
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -17,7 +17,7 @@ class Cors | ... | @@ -17,7 +17,7 @@ class Cors |
| 17 | public function handle($request, Closure $next) | 17 | public function handle($request, Closure $next) |
| 18 | { | 18 | { |
| 19 | 19 | ||
| 20 | return $next($request)->header('Access-Control-Allow-Origin' , '*') | 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 | } | 23 | } | ... | ... |
-
Please register or sign in to post a comment