Compare commits
No commits in common. "ee468aba420628526cfc037625c5290bc01b8689" and "f877033a97323312e72ed4d9ad5d7a21ced386c3" have entirely different histories.
ee468aba42
...
f877033a97
@ -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) {
|
r.NoRoute(func(c *gin.Context) {
|
||||||
c.JSON(http.StatusNotFound, gin.H{
|
c.JSON(http.StatusNotFound, gin.H{
|
||||||
"status": 1,
|
"status": 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user