Skip to content

Commit

Permalink
Fixed cors header
Browse files Browse the repository at this point in the history
  • Loading branch information
willbrowningme committed Oct 9, 2019
1 parent 25e23f1 commit c3f0451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Middleware/Cors.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ public function handle($request, Closure $next)
return $next($request)
->header('Access-Control-Allow-Origin', '*')
->header('Access-Control-Allow-Methods', 'GET, POST, PATCH, PUT, DELETE, OPTIONS')
->header('Access-Control-Allow-Headers', 'Origin, Content-Type, Accept, Authorization, X-Request-With');
->header('Access-Control-Allow-Headers', 'Origin, Content-Type, Accept, Authorization, X-Requested-With');
}
}

0 comments on commit c3f0451

Please sign in to comment.