From 2cd47aa9e0adb0e90c6a7490516bfb895d1915d4 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Fri, 8 Nov 2019 08:27:37 +0100 Subject: [PATCH] Allow 127.0.0.1 in CORS --- nelmio/cors-bundle/1.5/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nelmio/cors-bundle/1.5/manifest.json b/nelmio/cors-bundle/1.5/manifest.json index e619bee8..7c04230a 100644 --- a/nelmio/cors-bundle/1.5/manifest.json +++ b/nelmio/cors-bundle/1.5/manifest.json @@ -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"] }