diff options
-rw-r--r-- | bot/constants.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bot/constants.py b/bot/constants.py index 474ba9707..8629ef341 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -27,10 +27,10 @@ CLICKUP_TEAM = 754996 # URLs DEPLOY_URL = os.environ.get("DEPLOY_URL") STATUS_URL = os.environ.get("STATUS_URL") -API_URL = os.environ.get("API_URL", "api.pythondiscord.local:8080") -SITE_PROTOCOL = 'http' if 'local' in API_URL else 'https' -SITE_API_USER_URL = f"{SITE_PROTOCOL}://{API_URL}/user" -SITE_API_TAGS_URL = f"{SITE_PROTOCOL}://{API_URL}/tags" +SITE_URL = os.environ.get("SITE_URL", "pythondiscord.local:8080") +SITE_PROTOCOL = 'http' if 'local' in SITE_URL else 'https' +SITE_API_USER_URL = f"{SITE_PROTOCOL}://{SITE_URL}/user" +SITE_API_TAGS_URL = f"{SITE_PROTOCOL}://{SITE_URL}/tags" GITHUB_URL_BOT = "https://github.com/discord-python/bot" BOT_AVATAR_URL = "https://raw.githubusercontent.com/discord-python/branding/master/logos/logo_circle.png" |