whoops2
parent
f77e7d31af
commit
bbb5b5fa96
2
mirko.go
2
mirko.go
|
@ -79,7 +79,7 @@ func (m *Mirko) Listen() error {
|
|||
m.httpMux = http.NewServeMux()
|
||||
// Canonical URLs
|
||||
m.httpMux.HandleFunc("/debug/status", func(w http.ResponseWriter, r *http.Request) {
|
||||
any, sensitive := authRequest(r)
|
||||
any, _ := authRequest(r)
|
||||
if !any {
|
||||
http.Error(w, "not allowed", http.StatusUnauthorized)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue