Merge branch 'wp' into dev

This commit is contained in:
workabee 2024-09-11 11:29:32 +08:00
commit 06ceb1c8e2

View File

@ -42,7 +42,7 @@ func NewRouter() *gin.Engine {
}
//静态文件
r.StaticFS("/static", http.Dir("./runtime"))
auth.StaticFS("/static", http.Dir("./runtime"))
r.NoRoute(func(c *gin.Context) {
c.JSON(http.StatusNotFound, gin.H{
"status": 1,