aboutsummaryrefslogtreecommitdiff
path: root/src/conf.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2017-06-17 22:36:44 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2017-06-17 22:36:44 +0200
commit2e695a4331430050465c4e8b892768af5e18e934 (patch)
treef9ef9a04b8b76433e70db1cd1e75e47949662095 /src/conf.py
parentUpdated translations. (diff)
downloadnewspipe-2e695a4331430050465c4e8b892768af5e18e934.tar.gz
newspipe-2e695a4331430050465c4e8b892768af5e18e934.tar.bz2
newspipe-2e695a4331430050465c4e8b892768af5e18e934.zip
The Postmark team has chosen not to continue development of the Heroku Add-on as of June 30, 2017. Newspipe is now using SendGrid when deployed on Heroku.
Diffstat (limited to 'src/conf.py')
-rw-r--r--src/conf.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/conf.py b/src/conf.py
index 9d4c363c..6299f601 100644
--- a/src/conf.py
+++ b/src/conf.py
@@ -27,7 +27,7 @@ DEFAULTS = {"platform_url": "https://www.newspipe.org/",
"self_registration": "false",
"cdn_address": "",
"admin_email": "info@newspipe.org",
- "postmark_api_key": "",
+ "sendgrid_api_key": "",
"token_validity_period": "3600",
"default_max_error": "3",
"log_path": "newspipe.log",
@@ -117,7 +117,8 @@ NOTIFICATION_TLS = config.getboolean('notification', 'tls')
NOTIFICATION_SSL = config.getboolean('notification', 'ssl')
NOTIFICATION_USERNAME = config.get('notification', 'username')
NOTIFICATION_PASSWORD = config.get('notification', 'password')
-POSTMARK_API_KEY = config.get('notification', 'postmark_api_key')
+SENDGRID_API_KEY = config.get('notification', 'sendgrid_api_key')
+POSTMARK_API_KEY = ''
CSRF_ENABLED = True
# slow database query threshold (in seconds)
bgstack15