diff options
author | Adam Tauber <asciimoo@gmail.com> | 2020-08-27 14:29:38 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2020-08-27 14:29:38 +0200 |
commit | 30d16e7ee630e6272222b36ccd202f6cf3fdda0a (patch) | |
tree | 5b13dc8c5bb30065f4b08f3dfb9e09e51dcad56e /searx/templates/oscar/preferences.html | |
parent | 627853889039bce5a95d88e281311e4186ee3bba (diff) | |
download | searxng-30d16e7ee630e6272222b36ccd202f6cf3fdda0a.tar.gz searxng-30d16e7ee630e6272222b36ccd202f6cf3fdda0a.zip |
[fix] use base_url for prefix of sharing 'currenly saved preferences' - fixes #1249 by @matejc
Diffstat (limited to 'searx/templates/oscar/preferences.html')
-rw-r--r-- | searx/templates/oscar/preferences.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html index ab71b0683..89cc74ab7 100644 --- a/searx/templates/oscar/preferences.html +++ b/searx/templates/oscar/preferences.html @@ -321,7 +321,7 @@ </p> <div class="tab-pane"> - <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 %}&q=%s{% endraw %}"> + <input readonly="" class="form-control select-all-on-click cursor-text" type="url" value="{{ base_url }}?preferences={{ preferences_url_params|e }}{% raw %}&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> |