mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-01-23 02:35:10 +00:00
feat: add health check handler
This commit is contained in:
parent
d2e6d23741
commit
a721dc1f31
4 changed files with 13 additions and 2 deletions
|
|
@ -36,6 +36,7 @@ func NewHandler(
|
|||
return handle(fn, prefix, store, server)
|
||||
}
|
||||
|
||||
r.HandleFunc("/health", healthHandler)
|
||||
r.PathPrefix("/static").Handler(static)
|
||||
r.NotFoundHandler = index
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue