Skip to content

Commit

Permalink
Correct handling of Preflight Responses
Browse files Browse the repository at this point in the history
  • Loading branch information
0plus1 committed Jun 7, 2016
1 parent 4fe1310 commit 2e5aa2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bootstrap/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@
// // Illuminate\Session\Middleware\StartSession::class,
// // Illuminate\View\Middleware\ShareErrorsFromSession::class,
// // Laravel\Lumen\Http\Middleware\VerifyCsrfToken::class,
'Barryvdh\Cors\HandleCors'
Barryvdh\Cors\HandleCors::class,
Barryvdh\Cors\HandlePreflightSimple::class
]);

// $app->routeMiddleware([
Expand Down

0 comments on commit 2e5aa2e

Please sign in to comment.