summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-04-12 15:29:08 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-04-12 15:29:08 +0200
commit2bf297b19ffe00415f5d9b36d66dd6b24f5bb58d (patch)
tree1f5605bba5dbce11da247cce7a223f583361b3ef /searx
parent6c0114567e7ba1b3f4a54327eddf658b7474ca58 (diff)
[fix] redirect when saving preferences
Erroneously commit 87e4c4762 droped the 302 redirect. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx')
-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: