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