Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Commit 41355aa

Browse files
Merge pull request #31 from ungdev/fix/cors
Fix/cors
2 parents 12159ca + 14e2b1a commit 41355aa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

config/packages/nelmio_cors.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ 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: ['CAS-LOGIN']
77
expose_headers: ['Link']
88
max_age: 3600
9-
paths:
10-
'^/': null

0 commit comments

Comments
 (0)