aboutsummaryrefslogtreecommitdiff
path: root/instance/sqlite.py
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-08-31 17:18:59 -0400
committerB. Stack <bgstack15@gmail.com>2023-08-31 17:19:44 -0400
commit204b10805e67f125e63a2ece4b184a4634038bea (patch)
tree2bd6c7a7e007deb6df3b31b067707d5dca8174d8 /instance/sqlite.py
parentchg: [dependencies] Updated Python dependencies. (diff)
downloadnewspipe-reverse-proxy-for-patch.tar.gz
newspipe-reverse-proxy-for-patch.tar.bz2
newspipe-reverse-proxy-for-patch.zip
add reverse proxy and virtual pathreverse-proxy-for-patch
This adds the python logic, and prefix variable to assembled links in html and js
Diffstat (limited to 'instance/sqlite.py')
-rw-r--r--instance/sqlite.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/instance/sqlite.py b/instance/sqlite.py
index 1f8d6206..c6eaa461 100644
--- a/instance/sqlite.py
+++ b/instance/sqlite.py
@@ -10,6 +10,9 @@ PORT = 5000
DEBUG = True
API_ROOT = "/api/v2.0"
+# Optional, and useful if you are using a reverse proxy with this virtual path prefix
+#PREFIX = "/newspipe"
+
CSRF_ENABLED = True
SECRET_KEY = "LCx3BchmHRxFzkEv4BqQJyeXRLXenf"
SECURITY_PASSWORD_SALT = "L8gTsyrpRQEF8jNWQPyvRfv7U5kJkD"
bgstack15