diff --git a/cmd/dashboard/controller/controller.go b/cmd/dashboard/controller/controller.go index 0e318dd..ab1e62e 100644 --- a/cmd/dashboard/controller/controller.go +++ b/cmd/dashboard/controller/controller.go @@ -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))