From 6f4a2daecae9f5c1c6b7fec14ed68fd5e41598eb Mon Sep 17 00:00:00 2001 From: Gianni Carafa Date: Wed, 8 Nov 2023 21:37:46 +0100 Subject: [PATCH] fix LOG_URLS feature --- handlers/proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/proxy.go b/handlers/proxy.go index 3b5d127..22d82d8 100644 --- a/handlers/proxy.go +++ b/handlers/proxy.go @@ -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("LOG_URLS ") == "true" { + if os.Getenv("LOG_URLS") == "true" { log.Println(u.String() + urlQuery) }