This commit is contained in:
Giovanni committed 2026-01-31 17:56:34 +01:00
1 parent 22e6f365b0
commit a64146e227
1 file changed
+2 -4
+2 -4
View File
@@ -17,11 +17,9 @@ return [
'paths' => ['api/*', 'sanctum/csrf-cookie'], 'paths' => ['api/*', 'sanctum/csrf-cookie'],
'allowed_methods' => ['*'], 'allowed_methods' => ['GET'],
'allowed_origins' => env('DEV', false) 'allowed_origins' => ['http://localhost:5173'],
? ['http://localhost:5173', 'http://localhost:5174', 'http://localhost', 'http://localhost:80']
: [env('APP_URL', 'http://localhost')],
'allowed_origins_patterns' => [], 'allowed_origins_patterns' => [],