fix 404
This commit is contained in:
parent
74a857d6ab
commit
924a5fd900
2
hugo.go
2
hugo.go
|
@ -30,7 +30,7 @@ func (h handler) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error)
|
||||||
return a.ServeHTTP(w, r)
|
return a.ServeHTTP(w, r)
|
||||||
}
|
}
|
||||||
|
|
||||||
return 200, nil
|
return h.Next.ServeHTTP(w, r)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a adminHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error) {
|
func (a adminHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error) {
|
||||||
|
|
Loading…
Reference in New Issue