[nelmio/cors-bundle] Fix CORS_ALLOW_ORIGIN format

- Wrap value between simple quotes: avoid shell error when sourcing `.env` file
This commit is contained in:
Yannoff
2020-11-24 18:55:45 +01:00
parent b1fdd3c3f1
commit ed11407326
+1 -1
View File
@@ -6,7 +6,7 @@
"config/": "%CONFIG_DIR%/"
},
"env": {
"CORS_ALLOW_ORIGIN": "^https?://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?$"
"CORS_ALLOW_ORIGIN": "'^https?://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?$'"
},
"aliases": ["cors"]
}