diff options
author | 2018-03-07 17:59:55 +0100 | |
---|---|---|
committer | 2018-03-07 17:59:55 +0100 | |
commit | 9e4dda60dea0bb3f7a0f63d495a1c1f5bd399736 (patch) | |
tree | 2730f8af0f2def590bac89a84c85744f4aaa9bfd | |
parent | environment variable created, setting API constants dynamic. (diff) |
Oops. Forgot a bit.
-rw-r--r-- | bot/constants.py | 2 |
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" |