diff options
author | Alexandre Flament <alex@al-f.net> | 2021-04-21 16:24:22 +0200 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-04-21 16:24:22 +0200 |
commit | ae5954f2dad0386868709a59a1b29d005ebb2b2d (patch) | |
tree | 048646a47a5ea456c5f2a5ca4ce02cced106848d /searx/webapp.py | |
parent | 624d3ec6db7ea3cd2d10121b8c6ca4081bece21f (diff) | |
parent | c4793afadcabe3c4560afb5179f92c6c440d4c5e (diff) | |
download | searxng-ae5954f2dad0386868709a59a1b29d005ebb2b2d.tar.gz searxng-ae5954f2dad0386868709a59a1b29d005ebb2b2d.zip |
Merge remote-tracking branch 'return42/fix-preference-save'
Diffstat (limited to 'searx/webapp.py')
-rwxr-xr-x | searx/webapp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index e05488bf5..c3cd38ae8 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -836,7 +836,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: |