Skip to content

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

Revert the original ALLOWED_HOSTS value

Marcin Gębala0d85cea23277
diff --git a/saleor/settings.py b/saleor/settings.py
index faf45c0c9d..636f6a18a2 100644
--- a/saleor/settings.py
+++ b/saleor/settings.py
@@ -376,7 +376,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')