refactor: code cleanup

This commit is contained in:
Marvin Zhang
2024-07-06 14:15:14 +08:00
parent 059711a533
commit 4da8976228
42 changed files with 4 additions and 5292 deletions

View File

@@ -357,13 +357,6 @@ func InitRoutes(app *gin.Engine) (err error) {
HandlerFunc: GetSystemInfo,
},
})
RegisterActions(groups.AnonymousGroup, "/version", []Action{
{
Method: http.MethodGet,
Path: "",
HandlerFunc: GetVersion,
},
})
RegisterActions(groups.AnonymousGroup, "/", []Action{
{
Method: http.MethodPost,