From 5ce5c5cfe1be50a0121c28746c4ef431326d65a1 Mon Sep 17 00:00:00 2001 From: sonny Date: Sun, 12 Jul 2020 22:26:49 +0200 Subject: [PATCH] Set reddit callback url through env var --- src/newsreader/conf/production.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newsreader/conf/production.py b/src/newsreader/conf/production.py index 852498e..5bc11a9 100644 --- a/src/newsreader/conf/production.py +++ b/src/newsreader/conf/production.py @@ -48,7 +48,7 @@ TEMPLATES = [ # Reddit integration REDDIT_CLIENT_ID = os.environ["REDDIT_CLIENT_ID"] REDDIT_CLIENT_SECRET = os.environ["REDDIT_CLIENT_SECRET"] -REDDIT_REDIRECT_URL = "https://rss.fudiggity.nl/accounts/settings/reddit/callback/" +REDDIT_REDIRECT_URL = os.environ["REDDIT_CALLBACK_URL"] # Third party settings AXES_HANDLER = "axes.handlers.database.AxesDatabaseHandler"