aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-08-31 09:18:27 -0400
committerB. Stack <bgstack15@gmail.com>2023-08-31 09:18:27 -0400
commitfdf3255ab3efe8db206aef204cbca488b36d1df9 (patch)
tree4abc0e21522215af38c5ce999882aad925e5d790
parentimprove debug by printf (diff)
downloadnewspipe-fdf3255ab3efe8db206aef204cbca488b36d1df9.tar.gz
newspipe-fdf3255ab3efe8db206aef204cbca488b36d1df9.tar.bz2
newspipe-fdf3255ab3efe8db206aef204cbca488b36d1df9.zip
disable adding prefix to _uf?
-rw-r--r--newspipe/bootstrap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/newspipe/bootstrap.py b/newspipe/bootstrap.py
index ebda2a99..f28c353f 100644
--- a/newspipe/bootstrap.py
+++ b/newspipe/bootstrap.py
@@ -120,8 +120,8 @@ def utility_processor():
def url_for(endpoint, **values):
""" Custom reverse-proxy support for url_for """
_uf = f_url_for(endpoint, **values)
- if prefix:
- _uf = str(prefix) + _uf
+ #if prefix:
+ # _uf = str(prefix) + _uf
print(f"DEBUG: generating url_for {endpoint}, of {_uf}")
return _uf
return dict(url_for=url_for)
bgstack15