aboutsummaryrefslogtreecommitdiff
path: root/instance
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-15 13:34:21 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-15 13:34:21 +0100
commit8780ce2e5324e69042d2e250bd01373c6a8b15bd (patch)
tree4ad022c66ea50ab9c3191d5d5fb4362ebe27c910 /instance
parentDate of publication is not displayed on small devices. (diff)
downloadnewspipe-8780ce2e5324e69042d2e250bd01373c6a8b15bd.tar.gz
newspipe-8780ce2e5324e69042d2e250bd01373c6a8b15bd.tar.bz2
newspipe-8780ce2e5324e69042d2e250bd01373c6a8b15bd.zip
Updated default SQLite configuration file.
Diffstat (limited to 'instance')
-rw-r--r--instance/sqlite.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/instance/sqlite.py b/instance/sqlite.py
index fd6438cb..ad802865 100644
--- a/instance/sqlite.py
+++ b/instance/sqlite.py
@@ -13,7 +13,6 @@ API_ROOT = "/api/v2.0"
CSRF_ENABLED = True
SECRET_KEY = "LCx3BchmHRxFzkEv4BqQJyeXRLXenf"
SECURITY_PASSWORD_SALT = "L8gTsyrpRQEF8jNWQPyvRfv7U5kJkD"
-TOKEN_VALIDITY_PERIOD = 3600
# Database
SQLALCHEMY_DATABASE_URI = "sqlite:///newspipe.db"
@@ -37,6 +36,8 @@ MAIL_DEBUG = DEBUG
MAIL_USERNAME = None
MAIL_PASSWORD = None
MAIL_DEFAULT_SENDER = "admin@admin.localhost"
+TOKEN_VALIDITY_PERIOD = 3600
+PLATFORM_URL = "https://www.newspipe.org"
# Misc
BASE_DIR = os.path.abspath(os.path.dirname("."))
bgstack15