Add /client/* to CORS paths

This commit is contained in:
root
2026-05-26 19:15:50 +02:00
parent e2422e9a16
commit e34300a8a1
+1 -1
View File
@@ -17,7 +17,7 @@ return [
|
*/
'paths' => ['api/*', 'sanctum/csrf-cookie'],
'paths' => ['api/*', 'sanctum/csrf-cookie', 'client/*'],
'allowed_methods' => array_filter(array_map(trim(...), explode(',', (string) env('CORS_ALLOWED_METHODS', 'GET,POST,PUT,PATCH,DELETE,OPTIONS'))), fn ($v) => $v !== ''),