Fixed crash caused by wrong INI section for search engine list
Some checks failed
Run Integration Tests / test (push) Failing after 41s
Some checks failed
Run Integration Tests / test (push) Failing after 41s
This commit is contained in:
parent
dff7d9c416
commit
5bc2f53ef1
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ func saveConfig(config Config) {
|
||||||
setIntIfChanged(proxiesSec, "CrawlerProxyRetry", config.CrawlerProxyRetry, defaultConfig.CrawlerProxyRetry)
|
setIntIfChanged(proxiesSec, "CrawlerProxyRetry", config.CrawlerProxyRetry, defaultConfig.CrawlerProxyRetry)
|
||||||
|
|
||||||
// MetaSearch section
|
// MetaSearch section
|
||||||
metaSec := cfg.Section("MetaSearches")
|
metaSec := cfg.Section("MetaSearch")
|
||||||
metaSec.Key("LibreXInstances").SetValue(strings.Join(config.LibreXInstances, ","))
|
metaSec.Key("LibreXInstances").SetValue(strings.Join(config.LibreXInstances, ","))
|
||||||
metaSec.Key("Text").SetValue(strings.Join(config.MetaSearch.Text, ","))
|
metaSec.Key("Text").SetValue(strings.Join(config.MetaSearch.Text, ","))
|
||||||
metaSec.Key("Image").SetValue(strings.Join(config.MetaSearch.Image, ","))
|
metaSec.Key("Image").SetValue(strings.Join(config.MetaSearch.Image, ","))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue