forked from Mxmilu666/frp
all: add /api/proxies api for statistics info
This commit is contained in:
@@ -30,6 +30,7 @@ func RunDashboardServer(addr string, port int64) (err error) {
|
||||
router := gin.New()
|
||||
//router.LoadHTMLGlob("assets/*")
|
||||
router.GET("/api/reload", apiReload)
|
||||
router.GET("/api/proxies", apiProxies)
|
||||
go router.Run(fmt.Sprintf("%s:%d", addr, port))
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user