From d12deb803d0072c15b67e4baad7056d96b22be39 Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Fri, 7 Apr 2017 17:04:42 -0700 Subject: [PATCH] Removed unused config --- config.example.py | 1 - titanembeds/oauth.py | 1 - 2 files changed, 2 deletions(-) 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/"