diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html index 3f9192e2..2602c19d 100644 --- a/searx/templates/oscar/preferences.html +++ b/searx/templates/oscar/preferences.html @@ -368,7 +368,7 @@

- +
{{ _('back') }}
{{ _('Reset defaults') }}
diff --git a/searx/webapp.py b/searx/webapp.py index 072f140c..8058c6cd 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -813,7 +813,7 @@ def preferences(): # save preferences if request.method == 'POST': - resp = make_response(url_for('index', _external=True)) + resp = make_response(redirect(url_for('index', _external=True))) try: request.preferences.parse_form(request.form) except ValidationException: