nelmio_cors:
defaults:
allow_credentials: true
allow_origin: ['*']
allow_headers: ['Content-Type', 'Authorization']
allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE']
max_age: 3600
# paths:
# '^/':
# allow_credentials: true
# allow_origin: ['*']
# allow_headers: ['Content-Type', 'Authorization']
# allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE']
# max_age: 3600
|