aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-10 08:41:40 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-10 08:41:40 +0200
commitef1e886f213115cec5ae27a3dc1859c912256b0f (patch)
tree6063a6511aa4c5c6ef2f03ce4b88182e720b125f /src
parentrestoring TLS (diff)
downloadnewspipe-ef1e886f213115cec5ae27a3dc1859c912256b0f.tar.gz
newspipe-ef1e886f213115cec5ae27a3dc1859c912256b0f.tar.bz2
newspipe-ef1e886f213115cec5ae27a3dc1859c912256b0f.zip
updated default email address
Diffstat (limited to 'src')
-rw-r--r--src/conf.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/conf.py b/src/conf.py
index 1f20be30..084b3b61 100644
--- a/src/conf.py
+++ b/src/conf.py
@@ -26,7 +26,7 @@ ON_HEROKU = int(os.environ.get('HEROKU', 0)) == 1
DEFAULTS = {"platform_url": "https://www.newspipe.org",
"self_registration": "false",
"cdn_address": "",
- "admin_email": "root@newspipe.localhost",
+ "admin_email": "info@newspipe.org",
"postmark_api_key": "",
"token_validity_period": "3600",
"nb_worker": "100",
@@ -35,17 +35,16 @@ DEFAULTS = {"platform_url": "https://www.newspipe.org",
"default_max_error": "3",
"log_path": "newspipe.log",
"log_level": "info",
- "user_agent": "Newspipe (https://github.com/Newspipe)",
+ "user_agent": "Newspipe (https://github.com/newspipe)",
"secret_key": "",
"security_password_salt": "",
"enabled": "false",
- "notification_email": "newspipe@no-reply.com",
+ "notification_email": "info@newspipe.org",
"tls": "false",
"ssl": "true",
"host": "0.0.0.0",
"port": "5000",
- "crawling_method": "classic",
- "webzine_root": "~/tmp",
+ "crawling_method": "classic"
}
if not ON_HEROKU:
@@ -111,8 +110,6 @@ NOTIFICATION_USERNAME = config.get('notification', 'username')
NOTIFICATION_PASSWORD = config.get('notification', 'password')
POSTMARK_API_KEY = config.get('notification', 'postmark_api_key')
-WEBZINE_ROOT = config.get('webserver', 'webzine_root')
-
CSRF_ENABLED = True
# slow database query threshold (in seconds)
DATABASE_QUERY_TIMEOUT = 0.5
bgstack15