mirror of
https://github.com/searxng/searxng.git
synced 2024-11-05 04:40:11 +01:00
fe691a0988
Preferences class was introduced in order to handle user preferences. Right now it parses cookies and the form in preferences. Also it can retrieve settings based on the name of the setting. ATTENTION Please note that engine preferences are handled differently from now on. So it introduces incompatible changes. Every user who has saved preferences should reset and save his/her settings again. This change was needed, because everytime a default disabled engine was added saved user preferences would broke. Now engine setting tracking is fixed.
39 lines
635 B
YAML
39 lines
635 B
YAML
general:
|
|
debug : False
|
|
instance_name : "searx_test"
|
|
|
|
search:
|
|
safe_search : 0
|
|
autocomplete : ""
|
|
|
|
server:
|
|
port : 11111
|
|
bind_address : 127.0.0.1
|
|
secret_key : "ultrasecretkey" # change this!
|
|
base_url : False
|
|
image_proxy : False
|
|
|
|
ui:
|
|
themes_path : ""
|
|
default_theme : default
|
|
default_locale : ""
|
|
|
|
outgoing:
|
|
request_timeout : 1.0 # seconds
|
|
useragent_suffix : ""
|
|
|
|
engines:
|
|
- name : general_dummy
|
|
engine : dummy
|
|
categories : general
|
|
shortcut : gd
|
|
|
|
- name : dummy_dummy
|
|
engine : dummy
|
|
categories : dummy
|
|
shortcut : dd
|
|
|
|
locales:
|
|
en : English
|
|
hu : Magyar
|