mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2026-05-01 20:16:39 +00:00
add conn log
This commit is contained in:
@@ -50,7 +50,9 @@ func ApiInit(g *gin.Engine) {
|
||||
if global.Config.App.WebClient == 1 {
|
||||
WebClientRoutes(frg)
|
||||
}
|
||||
|
||||
au := &api.Audit{}
|
||||
//[method:POST] [uri:/api/audit/conn]
|
||||
frg.POST("/audit/conn", au.AuditConn)
|
||||
frg.Use(middleware.RustAuth())
|
||||
{
|
||||
u := &api.User{}
|
||||
|
||||
Reference in New Issue
Block a user