Compare commits
No commits in common. "06ceb1c8e29700f934ca78389283915815cdb3c2" and "11f2ac583db8c20d3ac8a7514a14b5478bb6209a" have entirely different histories.
06ceb1c8e2
...
11f2ac583d
@ -42,7 +42,7 @@ func NewRouter() *gin.Engine {
|
||||
}
|
||||
|
||||
//静态文件
|
||||
auth.StaticFS("/static", http.Dir("./runtime"))
|
||||
r.StaticFS("/static", http.Dir("./runtime"))
|
||||
r.NoRoute(func(c *gin.Context) {
|
||||
c.JSON(http.StatusNotFound, gin.H{
|
||||
"status": 1,
|
||||
|
Loading…
Reference in New Issue
Block a user