Skip to content

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

Revert changes in settings

michal43bdf68a5cd7
diff --git a/saleor/settings.py b/saleor/settings.py
index d56562694a..fa48339f89 100644
--- a/saleor/settings.py
+++ b/saleor/settings.py
@@ -298,7 +298,7 @@ BOOTSTRAP3 = {
TEST_RUNNER = ''
-ALLOWED_HOSTS = ['*']
+ALLOWED_HOSTS = get_list(os.environ.get('ALLOWED_HOSTS', 'localhost'))
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')