diff options
author | 2018-03-07 18:16:16 +0100 | |
---|---|---|
committer | 2018-03-07 18:16:16 +0100 | |
commit | 8c304182eb8e901e2d1b693e5c095ce46e2182a3 (patch) | |
tree | 5e3aef19feefa2724403381cd080b6745be92a0e | |
parent | Actually let's do SITE_URL. (diff) |
how do I keep forgetting the api. part
-rw-r--r-- | bot/constants.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/constants.py b/bot/constants.py index 8629ef341..3c8fcc266 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -29,8 +29,8 @@ DEPLOY_URL = os.environ.get("DEPLOY_URL") STATUS_URL = os.environ.get("STATUS_URL") 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" +SITE_API_USER_URL = f"{SITE_PROTOCOL}://api.{SITE_URL}/user" +SITE_API_TAGS_URL = f"{SITE_PROTOCOL}://api.{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" |