Skip to content

Commit 088a4dd

Browse files
authored
Merge pull request #45 from dsavina/fix/cors-misconfiguration
Fix - CORS allowing undesired origins
2 parents 54f014f + 1a247af commit 088a4dd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/api/config/packages/nelmio_cors.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
nelmio_cors:
22
defaults:
33
allow_credentials: true
4-
origin_regex: true
54
allow_origin: ['%env(CORS_ALLOW_ORIGIN)%']
65
allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE']
76
allow_headers: ['Content-Type', 'Authorization']

0 commit comments

Comments
 (0)