aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/constants.py3
1 files changed, 2 insertions, 1 deletions
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"