update help
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user