fixed google text search
Some checks failed
Run Integration Tests / test (push) Failing after 2m18s

This commit is contained in:
partisan 2025-01-28 20:44:08 +01:00
parent 614ce8903e
commit 8db4e18ee4
2 changed files with 10 additions and 6 deletions

View file

@ -42,7 +42,7 @@ func PerformLibreXTextSearch(query, safe, lang string, page int) ([]TextSearchRe
// Perform the request using the appropriate client
var resp *http.Response
if config.MetaProxyEnabled && metaProxyClient != nil {
if config.MetaProxyEnabled && config.MetaProxyStrict && metaProxyClient != nil {
resp, err = metaProxyClient.Do(req)
} else {
client := &http.Client{}