update help

This commit is contained in:
Bel LaPointe
2026-09-09 07:27:18 -07:00
parent c0ca599dbd
commit 29a317714f
+2 -1
View File
@@ -176,11 +176,12 @@ func (c Config) basicAuth(w http.ResponseWriter, r *http.Request) bool {
func (c Config) endpoint(r *http.Request) Endpoint { func (c Config) endpoint(r *http.Request) Endpoint {
key := c.key(r) key := c.key(r)
domain := strings.TrimPrefix(r.Host, key) domain := strings.TrimPrefix(r.Host, key)
log.Printf("lookup %s.%s", domain, key)
m, ok := c.Domains[domain] m, ok := c.Domains[domain]
if !ok { if !ok {
return Endpoint{} return Endpoint{}
} }
return m[c.key(r)] return m[key]
} }
type redirPurge struct { type redirPurge struct {