mirror of
https://github.com/fatedier/frp.git
synced 2026-03-21 01:09:27 +08:00
add healthz api (#2511)
This commit is contained in:
@@ -48,6 +48,7 @@ func (svr *Service) RunDashboardServer(address string) (err error) {
|
||||
router.HandleFunc("/api/proxy/{type}", svr.APIProxyByType).Methods("GET")
|
||||
router.HandleFunc("/api/proxy/{type}/{name}", svr.APIProxyByTypeAndName).Methods("GET")
|
||||
router.HandleFunc("/api/traffic/{name}", svr.APIProxyTraffic).Methods("GET")
|
||||
router.HandleFunc("/healthz", svr.Healthz)
|
||||
|
||||
// view
|
||||
router.Handle("/favicon.ico", http.FileServer(assets.FileSystem)).Methods("GET")
|
||||
|
||||
Reference in New Issue
Block a user