From b0b34260d562554b37ed46917d94b4d5e4b165a9 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Wed, 30 Aug 2023 19:02:26 -0400 Subject: leave PREFIX disabled by default in config --- instance/config.py | 3 ++- instance/sqlite.py | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'instance') 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" -- cgit