Symfony 8 + API Platform 4 + Nuxt 4 monorepo. Backend: User entity, JWT auth, fixtures. Frontend: login, dashboard, auth middleware, i18n, @malio/layer-ui. Docker: dev (ports 8083/3003/5436) + prod multi-stage. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
12 lines
355 B
YAML
12 lines
355 B
YAML
nelmio_cors:
|
|
defaults:
|
|
origin_regex: true
|
|
allow_origin: ['%env(CORS_ALLOW_ORIGIN)%']
|
|
allow_credentials: true
|
|
allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE']
|
|
allow_headers: ['Content-Type', 'Authorization']
|
|
expose_headers: ['Link']
|
|
max_age: 3600
|
|
paths:
|
|
'^/': null
|