Skip to content

Commit aa6d366

Browse files
committed
add sanctum cookie endpoint to default cors paths
1 parent b54ef29 commit aa6d366

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/cors.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
|
1616
*/
1717

18-
'paths' => ['api/*'],
18+
'paths' => ['api/*', 'sanctum/csrf-cookie'],
1919

2020
'allowed_methods' => ['*'],
2121

0 commit comments

Comments
 (0)