aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-08-30 19:02:26 -0400
committerB. Stack <bgstack15@gmail.com>2023-08-30 19:02:26 -0400
commitb0b34260d562554b37ed46917d94b4d5e4b165a9 (patch)
tree73d0d605ad799ebcb508b9d7fe2205a6c546d4fd
parentimprove syntax (diff)
downloadnewspipe-b0b34260d562554b37ed46917d94b4d5e4b165a9.tar.gz
newspipe-b0b34260d562554b37ed46917d94b4d5e4b165a9.tar.bz2
newspipe-b0b34260d562554b37ed46917d94b4d5e4b165a9.zip
leave PREFIX disabled by default in config
-rw-r--r--instance/config.py3
-rw-r--r--instance/sqlite.py3
2 files changed, 5 insertions, 1 deletions
diff --git a/instance/config.py b/instance/config.py
index 81f83f12..bfb60538 100644
--- a/instance/config.py
+++ b/instance/config.py
@@ -10,7 +10,8 @@ PORT = 5000
DEBUG = True
API_ROOT = "/api/v2.0"
-PREFIX = "/newspipe"
+# Optional, and useful if you are using a reverse proxy with this virtual path prefix
+#PREFIX = "/newspipe"
CSRF_ENABLED = True
SECRET_KEY = "LCx3BchmHRxFzkEv4BqQJyeXRLXenf"
diff --git a/instance/sqlite.py b/instance/sqlite.py
index abde387a..dcc2bd46 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