forked from TrueCloudLab/lego
Cleaned up a couple log lines
This commit is contained in:
parent
24e8a55405
commit
d9e2e2a873
1 changed files with 2 additions and 2 deletions
|
@ -119,9 +119,9 @@ func (s *httpChallenge) startHTTPServer(domain string, token string, keyAuth str
|
||||||
if strings.HasPrefix(r.Host, domain) && r.Method == "GET" {
|
if strings.HasPrefix(r.Host, domain) && r.Method == "GET" {
|
||||||
w.Header().Add("Content-Type", "text/plain")
|
w.Header().Add("Content-Type", "text/plain")
|
||||||
w.Write([]byte(keyAuth))
|
w.Write([]byte(keyAuth))
|
||||||
logf("Served Key Authentication ...")
|
logf("[INFO] Served key authentication")
|
||||||
} else {
|
} else {
|
||||||
logf("Received request for domain %s with method %s", r.Host, r.Method)
|
logf("[INFO] Received request for domain %s with method %s", r.Host, r.Method)
|
||||||
w.Write([]byte("TEST"))
|
w.Write([]byte("TEST"))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue