on master help sign in
Merge pull request #2130 from msafadieh/master
e6d002aAdam Tauber
searx/preferences.py+1−1
@@ -348,7 +348,7 @@ class Preferences(object):
348 }
348 }
349 ),
349 ),
350 'method': EnumStringSetting(
350 'method': EnumStringSetting(
351− 'POST',
351+ settings['server'].get('method', 'POST'),
352 choices=('GET', 'POST')
352 choices=('GET', 'POST')
353 ),
353 ),
354 'safesearch': MapSetting(
354 'safesearch': MapSetting(
searx/settings.yml+1
@@ -16,6 +16,7 @@ server:
16 base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
16 base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
17 image_proxy : False # Proxying image results through searx
17 image_proxy : False # Proxying image results through searx
18 http_protocol_version : "1.0" # 1.0 and 1.1 are supported
18 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
19
20
20ui:
21ui:
21 static_path : "" # Custom static path - leave it blank if you didn't change
22 static_path : "" # Custom static path - leave it blank if you didn't change