hesabixCore/config/packages/nelmio_cors.yaml

15 lines
381 B
YAML
Raw Normal View History

2023-01-26 19:43:53 +03:30
nelmio_cors:
defaults:
origin_regex: true
2023-02-23 16:45:56 +03:30
allow_origin: ['*']
allow_methods: ['*']
allow_headers: ['*']
2023-01-26 19:43:53 +03:30
expose_headers: ['Link']
max_age: 3600
paths:
2023-02-23 16:45:56 +03:30
'^/api/':
allow_origin: [ '*' ]
allow_headers: [ '*' ]
allow_methods: [ 'POST', 'PUT', 'GET', 'DELETE' ]
max_age: 3600