Fix NelmioCors regex

This commit is contained in:
Kévin Dunglas
2018-07-11 08:14:20 +02:00
parent 5129d85c7d
commit 5f8328c0e9
+1 -1
View File
@@ -6,7 +6,7 @@
"config/": "%CONFIG_DIR%/"
},
"env": {
"CORS_ALLOW_ORIGIN": "^https?://localhost:?[0-9]*$"
"CORS_ALLOW_ORIGIN": "^https?://localhost(:[0-9]+)?$"
},
"aliases": ["cors"]
}