fix: batch-block online-user request method (#903)

This commit is contained in:
仓鼠 2024-12-22 23:18:08 +08:00 committed by GitHub
parent 7c8ac7ae5a
commit 3c6dc2c87e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -133,7 +133,7 @@ func routers(r *gin.Engine, frontendDist fs.FS) {
auth.POST("/batch-delete/waf", adminHandler(batchDeleteBlockedAddress))
auth.GET("/online-user", pCommonHandler(listOnlineUser))
auth.GET("/online-user/batch-block", adminHandler(batchBlockOnlineUser))
auth.POST("/online-user/batch-block", adminHandler(batchBlockOnlineUser))
auth.PATCH("/setting", adminHandler(updateConfig))