diff options
-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" |