wp
workabee 1 week ago
parent 2568bdbf7a
commit 0f98f37539

@ -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,

Loading…
Cancel
Save