mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-08 11:22:10 +00:00
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…
x
Reference in New Issue
Block a user