summaryrefslogtreecommitdiff
path: root/searx/templates/preferences.html
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates/preferences.html')
-rw-r--r--searx/templates/preferences.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/preferences.html b/searx/templates/preferences.html
index dc33c5dfa..5632accd2 100644
--- a/searx/templates/preferences.html
+++ b/searx/templates/preferences.html
@@ -4,7 +4,7 @@
<div class="row">
<h2>{{ _('Preferences') }}</h2>
- <form method="post" action="/preferences" id="search_form">
+ <form method="post" action="{{ url_for('preferences') }}" id="search_form">
<fieldset>
<legend>{{ _('Default categories') }}</legend>
<p>
@@ -66,6 +66,6 @@
<input type="submit" value="{{ _('save') }}" />
</form>
- <div class="right"><a href="/">{{ _('back') }}</a></div>
+ <div class="right"><a href="{{ url_for('index') }}">{{ _('back') }}</a></div>
</div>
{% endblock %}