From 29a317714f914353bc7d41279cb01477c69baebc Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Wed, 9 Sep 2026 07:27:18 -0700 Subject: [PATCH] update help --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index ff766f3..35ca439 100644 --- a/main.go +++ b/main.go @@ -176,11 +176,12 @@ func (c Config) basicAuth(w http.ResponseWriter, r *http.Request) bool { func (c Config) endpoint(r *http.Request) Endpoint { key := c.key(r) domain := strings.TrimPrefix(r.Host, key) + log.Printf("lookup %s.%s", domain, key) m, ok := c.Domains[domain] if !ok { return Endpoint{} } - return m[c.key(r)] + return m[key] } type redirPurge struct {