Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
no need CSRF cors
Browse files Browse the repository at this point in the history
  • Loading branch information
adr1enbe4udou1n committed Oct 11, 2020
1 parent 57f515c commit 535e2ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/demo-laravel/config/cors.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* You can enable CORS for 1 or multiple paths.
* Example: ['api/*']
*/
'paths' => ['login', 'logout', 'forgot-password', 'reset-password', 'register', 'api/*', 'sanctum/*', 'user/*'],
'paths' => ['login', 'logout', 'forgot-password', 'reset-password', 'register', 'api/*', 'user/*'],

/*
* Matches the request method. `[*]` allows all methods.
Expand Down
2 changes: 1 addition & 1 deletion examples/laravel/config/cors.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* You can enable CORS for 1 or multiple paths.
* Example: ['api/*']
*/
'paths' => ['login', 'logout', 'forgot-password', 'reset-password', 'register', 'api/*', 'sanctum/*', 'user/*'],
'paths' => ['login', 'logout', 'forgot-password', 'reset-password', 'register', 'api/*', 'user/*'],

/*
* Matches the request method. `[*]` allows all methods.
Expand Down

0 comments on commit 535e2ff

Please sign in to comment.