1
0
mirror of https://framagit.org/tykayn/date-poll-api synced 2023-08-25 08:23:11 +02:00
date-poll-api/config/packages/nelmio_cors.yaml

12 lines
282 B
YAML

nelmio_cors:
defaults:
origin_regex: true
allow_origin: [ '*' ]
allow_methods: [ 'GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE' ]
allow_headers: [ '*' ]
expose_headers: [ 'Authorization' ]
allow_credentials: true
max_age: 3600
paths:
'^/': ~