summaryrefslogtreecommitdiff
path: root/utils/templates
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-05-26 19:43:27 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-05-28 08:32:52 +0200
commit6ed4616da99b25703489e7431d84d8749a7a167c (patch)
treeb05c82a900f25c384f3cf26898314225ba5d1fc3 /utils/templates
parente1f244b2d5698480f93169fce4bdc1782fc75bda (diff)
downloadsearxng-6ed4616da99b25703489e7431d84d8749a7a167c.tar.gz
searxng-6ed4616da99b25703489e7431d84d8749a7a167c.zip
[enh] add settings option to enable/disable search formats
Access to formats can be denied by settings configuration:: search: formats: [html, csv, json, rss] Closes: https://github.com/searxng/searxng/issues/95 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/templates')
-rw-r--r--utils/templates/etc/searx/use_default_settings.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/templates/etc/searx/use_default_settings.yml b/utils/templates/etc/searx/use_default_settings.yml
index e019a25bb..845e3139f 100644
--- a/utils/templates/etc/searx/use_default_settings.yml
+++ b/utils/templates/etc/searx/use_default_settings.yml
@@ -8,6 +8,7 @@ search:
safe_search : 0 # Filter results. 0: None, 1: Moderate, 2: Strict
autocomplete : "" # Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "startpage", "swisscows", "qwant", "wikipedia" - leave blank to turn it off by default
default_lang : "" # Default search language - leave blank to detect from browser information or use codes from 'languages.py'
+ formats: [html, csv, json, rss]
server:
port : 8888