forked from Ponysearch/Ponysearch
[fix] add missing brand options to the settings SCHEMA
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
3e50e8de3e
commit
2a2b6c4d57
2 changed files with 17 additions and 0 deletions
|
@ -130,6 +130,14 @@ SCHEMA = {
|
||||||
'contact_url': SettingsValue((None, False, str), None),
|
'contact_url': SettingsValue((None, False, str), None),
|
||||||
},
|
},
|
||||||
'brand': {
|
'brand': {
|
||||||
|
'git_url': SettingsValue(str),
|
||||||
|
'git_branch': SettingsValue(str),
|
||||||
|
'issue_url': SettingsValue(str, None),
|
||||||
|
'new_issue_url': SettingsValue(str, None),
|
||||||
|
'docs_url': SettingsValue(str, None),
|
||||||
|
'public_instances': SettingsValue(str, None),
|
||||||
|
'wiki_url': SettingsValue(str, None),
|
||||||
|
'twitter_url': SettingsValue(str, None),
|
||||||
},
|
},
|
||||||
'search': {
|
'search': {
|
||||||
'safe_search': SettingsValue((0,1,2), 0),
|
'safe_search': SettingsValue((0,1,2), 0),
|
||||||
|
|
|
@ -2,6 +2,15 @@ general:
|
||||||
debug: false
|
debug: false
|
||||||
instance_name: "searx_test"
|
instance_name: "searx_test"
|
||||||
|
|
||||||
|
brand:
|
||||||
|
git_url: https://github.com/searxng/searxng
|
||||||
|
git_branch: master
|
||||||
|
issue_url: https://github.com/searxng/searxng/issues
|
||||||
|
new_issue_url: https://github.com/searxng/searxng/issues/new
|
||||||
|
docs_url: https://searxng.github.io/searxng
|
||||||
|
public_instances: https://searx.space
|
||||||
|
wiki_url: https://github.com/searxng/searxng/wiki
|
||||||
|
|
||||||
search:
|
search:
|
||||||
language: "all"
|
language: "all"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue