1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

Merge pull request #2130 from msafadieh/master

Make default query submission method configurable
This commit is contained in:
Adam Tauber 2020-08-10 12:15:45 +02:00 committed by GitHub
commit e6d002a730
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -348,7 +348,7 @@ class Preferences(object):
}
),
'method': EnumStringSetting(
'POST',
settings['server'].get('method', 'POST'),
choices=('GET', 'POST')
),
'safesearch': MapSetting(

View File

@ -16,6 +16,7 @@ server:
base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
image_proxy : False # Proxying image results through searx
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:
static_path : "" # Custom static path - leave it blank if you didn't change