mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2025-11-29 08:33:21 +00:00
fix
This commit is contained in:
@@ -19,9 +19,6 @@ func ApiInit(g *gin.Engine) {
|
|||||||
|
|
||||||
frg := g.Group("/api")
|
frg := g.Group("/api")
|
||||||
|
|
||||||
//frg.Use(middleware.Cors())
|
|
||||||
frg.OPTIONS("/*any", nil)
|
|
||||||
|
|
||||||
i := &api.Index{}
|
i := &api.Index{}
|
||||||
frg.GET("/", i.Index)
|
frg.GET("/", i.Index)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user