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/config.py | |
parent | chg: [dependencies] Updated Python dependencies. (diff) | |
download | newspipe-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/config.py')
-rw-r--r-- | instance/config.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/instance/config.py b/instance/config.py index 42e624cb..af7617a4 100644 --- a/instance/config.py +++ b/instance/config.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" |