aboutsummaryrefslogtreecommitdiff
path: root/instance/production.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-14 14:26:50 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-14 14:26:50 +0100
commit667d59bbeea4ac768949ea1cac66e65cbf8ca350 (patch)
treec3ccc784f8d098fee7761297835f4888da7c536a /instance/production.py
parentPreparing new 9.1.0 release. (diff)
downloadnewspipe-667d59bbeea4ac768949ea1cac66e65cbf8ca350.tar.gz
newspipe-667d59bbeea4ac768949ea1cac66e65cbf8ca350.tar.bz2
newspipe-667d59bbeea4ac768949ea1cac66e65cbf8ca350.zip
Fixed email notifications.
Diffstat (limited to 'instance/production.py')
-rw-r--r--instance/production.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/instance/production.py b/instance/production.py
index 798c5a04..46f16523 100644
--- a/instance/production.py
+++ b/instance/production.py
@@ -6,6 +6,7 @@ import os
# Webserver
HOST = "127.0.0.1"
+PLATFORM_URL = ""
PORT = 5000
DEBUG = False
API_ROOT = "/api/v2.0"
@@ -13,7 +14,6 @@ API_ROOT = "/api/v2.0"
CSRF_ENABLED = True
SECRET_KEY = "LCx3BchmHRxFzkEv4BqQJyeXRLXenf"
SECURITY_PASSWORD_SALT = "L8gTsyrpRQEF8jNWQPyvRfv7U5kJkD"
-TOKEN_VALIDITY_PERIOD = 3600
# Database
DB_CONFIG_DICT = {
@@ -46,6 +46,7 @@ MAIL_DEBUG = DEBUG
MAIL_USERNAME = None
MAIL_PASSWORD = None
MAIL_DEFAULT_SENDER = "admin@admin.localhost"
+TOKEN_VALIDITY_PERIOD = 3600
# Misc
BASE_DIR = os.path.abspath(os.path.dirname("."))
bgstack15