aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2018-03-07 17:59:55 +0100
committerGravatar Leon Sandøy <[email protected]>2018-03-07 17:59:55 +0100
commit9e4dda60dea0bb3f7a0f63d495a1c1f5bd399736 (patch)
tree2730f8af0f2def590bac89a84c85744f4aaa9bfd
parentenvironment variable created, setting API constants dynamic. (diff)
Oops. Forgot a bit.
-rw-r--r--bot/constants.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 152861367..474ba9707 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -27,7 +27,7 @@ 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", "pythondiscord.local:8080")
+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"