Skip to content

Commit 5f8328c

Browse files
committed
Fix NelmioCors regex
1 parent 5129d85 commit 5f8328c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nelmio/cors-bundle/1.5/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"config/": "%CONFIG_DIR%/"
77
},
88
"env": {
9-
"CORS_ALLOW_ORIGIN": "^https?://localhost:?[0-9]*$"
9+
"CORS_ALLOW_ORIGIN": "^https?://localhost(:[0-9]+)?$"
1010
},
1111
"aliases": ["cors"]
1212
}

0 commit comments

Comments
 (0)