aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'pysite/constants.py')
-rw-r--r--pysite/constants.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pysite/constants.py b/pysite/constants.py
index 7df4674e..03b660d6 100644
--- a/pysite/constants.py
+++ b/pysite/constants.py
@@ -27,7 +27,7 @@ SERVER_ID = 267624335836053506
DISCORD_API_ENDPOINT = "https://discordapp.com/api"
DISCORD_OAUTH_REDIRECT = "/auth/discord"
-DISCORD_OAUTH_AUTHORIZED = "/auth/discord/authorized"
+DISCORD_OAUTH_AUTHORIZED = environ.get("DISCORD_OAUTH_AUTHORIZED", "https://pythondiscord.com/auth/discord/authorized")
DISCORD_OAUTH_ID = environ.get('DISCORD_OAUTH_ID', '')
DISCORD_OAUTH_SECRET = environ.get('DISCORD_OAUTH_SECRET', '')
DISCORD_OAUTH_SCOPE = 'identify email guilds.join'