summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-04-21 16:24:22 +0200
committerAlexandre Flament <alex@al-f.net>2021-04-21 16:24:22 +0200
commitae5954f2dad0386868709a59a1b29d005ebb2b2d (patch)
tree048646a47a5ea456c5f2a5ca4ce02cced106848d /searx/templates
parent624d3ec6db7ea3cd2d10121b8c6ca4081bece21f (diff)
parentc4793afadcabe3c4560afb5179f92c6c440d4c5e (diff)
downloadsearxng-ae5954f2dad0386868709a59a1b29d005ebb2b2d.tar.gz
searxng-ae5954f2dad0386868709a59a1b29d005ebb2b2d.zip
Merge remote-tracking branch 'return42/fix-preference-save'
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/oscar/preferences.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html
index 3f9192e22..2602c19d9 100644
--- a/searx/templates/oscar/preferences.html
+++ b/searx/templates/oscar/preferences.html
@@ -368,7 +368,7 @@
</p>
<div class="tab-pane">
- <input readonly="" class="form-control select-all-on-click cursor-text" type="url" value="{{ base_url }}?preferences={{ preferences_url_params|e }}{% raw %}&amp;q=%s{% endraw %}">
+ <input readonly="" class="form-control select-all-on-click cursor-text" type="url" value="{{ url_for('index', _external=True) }}?preferences={{ preferences_url_params|e }}{% raw %}&amp;q=%s{% endraw %}">
<input type="submit" class="btn btn-primary" value="{{ _('save') }}" />
<a href="{{ url_for('index') }}"><div class="btn btn-default">{{ _('back') }}</div></a>
<a href="{{ url_for('clear_cookies') }}"><div class="btn btn-default">{{ _('Reset defaults') }}</div></a>