Fixed crash caused by wrong INI section for search engine list
Some checks failed
Run Integration Tests / test (push) Failing after 41s

This commit is contained in:
partisan 2025-06-22 09:51:01 +02:00
parent dff7d9c416
commit 5bc2f53ef1

View file

@ -312,7 +312,7 @@ func saveConfig(config Config) {
setIntIfChanged(proxiesSec, "CrawlerProxyRetry", config.CrawlerProxyRetry, defaultConfig.CrawlerProxyRetry)
// MetaSearch section
metaSec := cfg.Section("MetaSearches")
metaSec := cfg.Section("MetaSearch")
metaSec.Key("LibreXInstances").SetValue(strings.Join(config.LibreXInstances, ","))
metaSec.Key("Text").SetValue(strings.Join(config.MetaSearch.Text, ","))
metaSec.Key("Image").SetValue(strings.Join(config.MetaSearch.Image, ","))