summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsearx/webapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 072f140ca..8058c6cd0 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: