Merge pull request #2130 from msafadieh/master
Make default query submission method configurable
commite6d002a7303fb6ffd7d18564360603bcac5f2480
authorAdam Tauber <asciimoo@gmail.com>
dateMon 10 Aug 2020, 12:15 (6 years ago)
parent43df2518dff74d
searx/preferences.py+1−1
@@ -348,7 +348,7 @@ class Preferences(object):
348348 }
349349 ),
350350 'method': EnumStringSetting(
351− 'POST',
351+ settings['server'].get('method', 'POST'),
352352 choices=('GET', 'POST')
353353 ),
354354 'safesearch': MapSetting(
searx/settings.yml+1
@@ -16,6 +16,7 @@ server:
1616 base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
1717 image_proxy : False # Proxying image results through searx
1818 http_protocol_version : "1.0" # 1.0 and 1.1 are supported
19+ method: "POST" # POST queries are more secure as they don't show up in history but may cause problems when using Firefox containers
1920
2021ui:
2122 static_path : "" # Custom static path - leave it blank if you didn't change