mirror of
https://framagit.org/tykayn/date-poll-api
synced 2023-08-25 08:23:11 +02:00
11 lines
323 B
YAML
11 lines
323 B
YAML
nelmio_cors:
|
|
defaults:
|
|
origin_regex: true
|
|
allow_origin: ['%env(CORS_ALLOW_ORIGIN)%']
|
|
allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE']
|
|
allow_headers: ['Content-Type', 'Authorization']
|
|
expose_headers: ['Link']
|
|
max_age: 3600
|
|
paths:
|
|
'^/': null
|