hesabixCore/config/packages/nelmio_cors.yaml
2023-02-23 08:15:56 -05:00

15 lines
381 B
YAML

nelmio_cors:
defaults:
origin_regex: true
allow_origin: ['*']
allow_methods: ['*']
allow_headers: ['*']
expose_headers: ['Link']
max_age: 3600
paths:
'^/api/':
allow_origin: [ '*' ]
allow_headers: [ '*' ]
allow_methods: [ 'POST', 'PUT', 'GET', 'DELETE' ]
max_age: 3600