Skip to content

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

Remove INTEGRATIONS_ENABLE_SSL settings variable

Krzysztof Wolskia5af8fb36158
diff --git a/saleor/integrations/feeds.py b/saleor/integrations/feeds.py
index ba39dea383..13c450ae71 100644
--- a/saleor/integrations/feeds.py
+++ b/saleor/integrations/feeds.py
@@ -74,7 +74,7 @@ class GoogleProductFeed(object):
def item_link(self, item):
return add_domain(self.current_site.domain,
item.get_absolute_url(),
- settings.INTEGRATIONS_ENABLE_SSL)
+ not settings.DEBUG)
def item_title(self, item):
return item.display_product()
diff --git a/saleor/settings.py b/saleor/settings.py
index 21db2d2377..ef4fee9543 100644
--- a/saleor/settings.py
+++ b/saleor/settings.py
@@ -236,8 +236,6 @@ ACCOUNT_ACTIVATION_DAYS = 3
LOGIN_REDIRECT_URL = 'home'
INTEGRATIONS_DIR = os.environ.get('INTEGRATIONS_DIR', '')
-INTEGRATIONS_ENABLE_SSL = ast.literal_eval(
- os.environ.get('INTEGRATIONS_ENABLE_SSL', 'False'))
FACEBOOK_APP_ID = os.environ.get('FACEBOOK_APP_ID')
FACEBOOK_SECRET = os.environ.get('FACEBOOK_SECRET')