Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Revert the original ALLOWED_HOSTS value

Marcin Gębala8e5ef32a1853
diff --git a/saleor/settings.py b/saleor/settings.py
index 4e2aeac9a6..dabe034c49 100644
--- a/saleor/settings.py
+++ b/saleor/settings.py
@@ -373,7 +373,7 @@ bootstrap4 = {
TEST_RUNNER = ''
ALLOWED_HOSTS = get_list(
- os.environ.get('ALLOWED_HOSTS', '*'))
+ os.environ.get('ALLOWED_HOSTS', 'localhost,127.0.0.1'))
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')