Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add comma as a separator to ALLOWED_HOSTS values
Adam Bogdał732aae48770b
diff --git a/saleor/settings.py b/saleor/settings.pyindex c2bb9ff3b9..c56f9bdad6 100644--- a/saleor/settings.py+++ b/saleor/settings.py@@ -284,7 +284,8 @@ BOOTSTRAP3 = {TEST_RUNNER = ''-ALLOWED_HOSTS = os.environ.get('ALLOWED_HOSTS', 'localhost').split()+ALLOWED_HOSTS = map(+ str.strip, os.environ.get('ALLOWED_HOSTS', 'localhost').split(','))SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')