Allow 127.0.0.1 in CORS

This commit is contained in:
Fabien Potencier
2019-11-08 08:48:05 +01:00
parent 7be9ee0bba
commit 2cd47aa9e0
+1 -1
View File
@@ -6,7 +6,7 @@
"config/": "%CONFIG_DIR%/"
},
"env": {
"CORS_ALLOW_ORIGIN": "^https?://localhost(:[0-9]+)?$"
"CORS_ALLOW_ORIGIN": "^https?://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?$"
},
"aliases": ["cors"]
}