diff options
author | B. Stack <bgstack15@gmail.com> | 2023-08-31 17:18:59 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2023-08-31 17:19:44 -0400 |
commit | 204b10805e67f125e63a2ece4b184a4634038bea (patch) | |
tree | 2bd6c7a7e007deb6df3b31b067707d5dca8174d8 /instance/sqlite.py | |
parent | chg: [dependencies] Updated Python dependencies. (diff) | |
download | newspipe-204b10805e67f125e63a2ece4b184a4634038bea.tar.gz newspipe-204b10805e67f125e63a2ece4b184a4634038bea.tar.bz2 newspipe-204b10805e67f125e63a2ece4b184a4634038bea.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.py | 3 |
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" |