Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ca2835c

Browse files
authored
Merge pull request api-platform#1434 from dunglas/cors-vulcain
CORS: whitelist Vulcain headers
2 parents 687bbde + 183debd commit ca2835c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/config/packages/nelmio_cors.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ nelmio_cors:
33
origin_regex: true
44
allow_origin: ['%env(CORS_ALLOW_ORIGIN)%']
55
allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE']
6-
allow_headers: ['Content-Type', 'Authorization']
6+
allow_headers: ['Content-Type', 'Authorization', 'Preload', 'Fields']
77
expose_headers: ['Link']
88
max_age: 3600
99
paths:

0 commit comments

Comments
 (0)