config/packages/nelmio_cors.yaml

 avatar
unknown
plain_text
10 months ago
297 B
6
Indexable
nelmio_cors:
    defaults:
        origin_regex: true
        allow_origin: ['*']
        allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE']
        allow_headers: ['Content-Type', 'Authorization']
        expose_headers: ['Link']
        max_age: 3600
    paths:
        '^/': ~
Editor is loading...
Leave a Comment