diff --git a/config.example.py b/config.example.py index 012d2a3..0e427b2 100644 --- a/config.example.py +++ b/config.example.py @@ -9,5 +9,4 @@ config = { 'app-secret': "Type something random here, go wild.", 'database-uri': "driver://username:password@host:port/database", - 'app-base-url': "The base domain of the site", } diff --git a/titanembeds/oauth.py b/titanembeds/oauth.py index 364d77f..ae925c0 100644 --- a/titanembeds/oauth.py +++ b/titanembeds/oauth.py @@ -3,7 +3,6 @@ from requests_oauthlib import OAuth2Session from titanembeds.utils import cache, make_guilds_cache_key from flask import session, abort, url_for -redirect_url = config['app-base-url'] + "/user/callback" authorize_url = "https://discordapp.com/api/oauth2/authorize" token_url = "https://discordapp.com/api/oauth2/token" avatar_base_url = "https://cdn.discordapp.com/avatars/"