mirror of
https://github.com/searxng/searxng.git
synced 2024-11-26 21:01:01 +00:00
Merge pull request #2130 from msafadieh/master
Make default query submission method configurable
This commit is contained in:
commit
e6d002a730
2 changed files with 2 additions and 1 deletions
|
@ -348,7 +348,7 @@ class Preferences(object):
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
'method': EnumStringSetting(
|
'method': EnumStringSetting(
|
||||||
'POST',
|
settings['server'].get('method', 'POST'),
|
||||||
choices=('GET', 'POST')
|
choices=('GET', 'POST')
|
||||||
),
|
),
|
||||||
'safesearch': MapSetting(
|
'safesearch': MapSetting(
|
||||||
|
|
|
@ -16,6 +16,7 @@ server:
|
||||||
base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
|
base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
|
||||||
image_proxy : False # Proxying image results through searx
|
image_proxy : False # Proxying image results through searx
|
||||||
http_protocol_version : "1.0" # 1.0 and 1.1 are supported
|
http_protocol_version : "1.0" # 1.0 and 1.1 are supported
|
||||||
|
method: "POST" # POST queries are more secure as they don't show up in history but may cause problems when using Firefox containers
|
||||||
|
|
||||||
ui:
|
ui:
|
||||||
static_path : "" # Custom static path - leave it blank if you didn't change
|
static_path : "" # Custom static path - leave it blank if you didn't change
|
||||||
|
|
Loading…
Reference in a new issue