chore(backend): autorise localhost:3001 en CORS (dev)

This commit is contained in:
Azmog
2026-06-19 00:51:17 +02:00
parent 7358d3aaa8
commit 2e2ee5fe71
+6 -1
View File
@@ -19,7 +19,12 @@ return [
'allowed_methods' => ['*'],
'allowed_origins' => [env('FRONTEND_URL', 'http://localhost:3000')],
'allowed_origins' => array_values(array_unique(array_filter([
env('FRONTEND_URL', 'http://localhost:3000'),
'http://localhost:3000',
// Preview de la refonte DSFR (port 3001)
'http://localhost:3001',
]))),
'allowed_origins_patterns' => [],