fix: host typo

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-06-12 16:15:23 -03:00
parent 3b1399390e
commit 2aa705489b

View File

@@ -47,7 +47,7 @@ func Image(w http.ResponseWriter, r *http.Request) {
} else {
u.Scheme = r.URL.Scheme
}
u.Host = r.URL.Host
u.Host = r.Host
}
if _, some := params["threshold"]; !some {