diff options
| author | Ho3ein <ho3ein.sanaei@gmail.com> | 2023-04-10 20:03:19 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-10 20:03:19 +0300 |
| commit | d74b39b9cffb282fceb77bb76dbc59a4ab723b45 (patch) | |
| tree | 0b1dd536b4735dc1ccb5841240baeb49f7ad472e /web/controller/api.go | |
| parent | 5db35c32de9926f78d665a3ac6093b72b8e2b599 (diff) | |
API bug fixed
Diffstat (limited to 'web/controller/api.go')
| -rw-r--r-- | web/controller/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/controller/api.go b/web/controller/api.go index f3021ea4..c64b27bf 100644 --- a/web/controller/api.go +++ b/web/controller/api.go @@ -17,7 +17,7 @@ func (a *APIController) initRouter(g *gin.RouterGroup) { g = g.Group("/xui/API/inbounds") g.Use(a.checkLogin) - g.POST("/list", a.getAllInbounds) + g.GET("/list", a.getAllInbounds) g.GET("/get/:id", a.getSingleInbound) g.POST("/add", a.addInbound) g.POST("/del/:id", a.delInbound) |
