From 040e813194179e426799dd94e47f5e499fdd2aac Mon Sep 17 00:00:00 2001 From: Leon Sandøy Date: Tue, 6 Mar 2018 22:34:53 +0100 Subject: breaking bug discovered, missing env var. Quick temporary fix. --- bot/constants.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot/constants.py b/bot/constants.py index c73069632..5c0f11fe5 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -27,7 +27,8 @@ CLICKUP_TEAM = 754996 # URLs DEPLOY_URL = os.environ.get("DEPLOY_URL") STATUS_URL = os.environ.get("STATUS_URL") -SITE_URL = os.environ.get("SERVER_NAME", "pythondiscord.local:8080") +# SITE_URL = os.environ.get("SERVER_NAME", "pythondiscord.local:8080") # This needs an environment variable +SITE_URL = 'pythondiscord.com' SITE_PROTOCOL = 'http' if 'local' in SITE_URL else 'https' SITE_API_USER_URL = f"{SITE_PROTOCOL}://api.{SITE_URL}/user" SITE_API_TAGS_URL = f"{SITE_PROTOCOL}://api.{SITE_URL}/tags" -- cgit v1.2.3