fix
This commit is contained in:
1 parent
2ed2884118
commit
8b8a44e46b
1 file changed
-3
@@ -19,9 +19,6 @@ func ApiInit(g *gin.Engine) {
|
||||
|
||||
frg := g.Group("/api")
|
||||
|
||||
//frg.Use(middleware.Cors())
|
||||
frg.OPTIONS("/*any", nil)
|
||||
|
||||
i := &api.Index{}
|
||||
frg.GET("/", i.Index)
|
||||
|
||||
|
||||
Reference in new issue
Block a user