mirror of
https://github.com/ilyakooo0/searx.git
synced 2024-12-01 17:02:21 +03:00
[fix] redirect when saving preferences
Erroneously commit 87e4c4762
droped the 302 redirect.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
6c0114567e
commit
2bf297b19f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user