add personal apis

This commit is contained in:
ljw
2024-09-24 14:43:27 +08:00
parent 62a22c697d
commit 9d7aa05032
21 changed files with 1099 additions and 168 deletions
+1
View File
@@ -9,6 +9,7 @@ import (
func WebInit(g *gin.Engine) {
i := &web.Index{}
g.GET("/", i.Index)
g.GET("/webclient-config/index.js", i.ConfigJs)
g.StaticFS("/webclient", http.Dir(global.Config.Gin.ResourcesPath+"/web"))
g.StaticFS("/_admin", http.Dir(global.Config.Gin.ResourcesPath+"/admin"))