summaryrefslogtreecommitdiff
path: root/searx/templates/simple/messages/no_results.html
diff options
context:
space:
mode:
authorBnyro <bnyro@tutanota.com>2025-10-10 18:01:36 +0200
committerBnyro <bnyro@tutanota.com>2025-10-10 18:05:54 +0200
commitd28a1c434f67f5fea332d36d553d75276c76f44a (patch)
tree5b5f0e4140771d790b1ffb1e5ba0e788c3878238 /searx/templates/simple/messages/no_results.html
parent21d0428cf2dd5c1e3f8ae1702494bbaedf90c2fc (diff)
[fix] no results error dialog: link to preferences doesn't work if searxng is hosted as subdirectory
Diffstat (limited to 'searx/templates/simple/messages/no_results.html')
-rw-r--r--searx/templates/simple/messages/no_results.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/simple/messages/no_results.html b/searx/templates/simple/messages/no_results.html
index fb863cb9c..cca934c95 100644
--- a/searx/templates/simple/messages/no_results.html
+++ b/searx/templates/simple/messages/no_results.html
@@ -18,7 +18,7 @@
{%- if pageno == 1 -%}
<li>{{ _("Refresh the page.") }}</li>{{- '' -}}
<li>{{ _("Search for another query or select another category (above).") }}</li>{{- '' -}}
- <li>{{ _("Change the search engine used in the preferences:") }} <a href="/preferences">/preferences</a></li>{{- '' -}}
+ <li>{{ _("Change the search engine used in the preferences:") }} <a href="{{ url_for('preferences') }}">/preferences</a></li>{{- '' -}}
<li>{{ _("Switch to another instance:") }} <a href="https://searx.space">https://searx.space</a></li>{{- '' -}}
{%- else -%}
<li>{{ _("Search for another query or select another category.") }}</li>{{- '' -}}