fix env vars

This commit is contained in:
Gianni Carafa
2023-11-08 02:17:16 +01:00
parent 719373bb7d
commit afca5eda80
2 changed files with 6 additions and 10 deletions

View File

@@ -56,7 +56,7 @@ func fetchSite(urlpath string, queries map[string]string) (string, *http.Request
return "", nil, nil, fmt.Errorf("domain not allowed. %s not in %s", u.Host, allowedDomains)
}
if os.Getenv("DEBUG ") == "true" {
if os.Getenv("LOG_URLS ") == "true" {
log.Println(u.String() + urlQuery)
}