mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
preferences.py: implement defaults if unset
Implemnts defaults for: - search.default_lang, search.autocomplete, search.safe_search, - ui.default_theme, ui.default_locale - server.image_proxy This fixes also: https://github.com/asciimoo/searx/pull/1860#issuecomment-590082955 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
179be12732
commit
1cae4fa88d
2 changed files with 25 additions and 21 deletions
|
|
@ -3,8 +3,6 @@ general:
|
|||
instance_name : "searx_test"
|
||||
|
||||
search:
|
||||
safe_search : 0
|
||||
autocomplete : ""
|
||||
language: "all"
|
||||
|
||||
server:
|
||||
|
|
@ -12,14 +10,12 @@ server:
|
|||
bind_address : 127.0.0.1
|
||||
secret_key : "ultrasecretkey" # change this!
|
||||
base_url : False
|
||||
image_proxy : False
|
||||
http_protocol_version : "1.0"
|
||||
|
||||
ui:
|
||||
static_path : ""
|
||||
templates_path : ""
|
||||
default_theme : oscar
|
||||
default_locale : ""
|
||||
|
||||
outgoing:
|
||||
request_timeout : 1.0 # seconds
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue