Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHo3ein <ho3ein.sanaei@gmail.com>2023-04-10 20:03:19 +0300
committerGitHub <noreply@github.com>2023-04-10 20:03:19 +0300
commitd74b39b9cffb282fceb77bb76dbc59a4ab723b45 (patch)
tree0b1dd536b4735dc1ccb5841240baeb49f7ad472e /web/controller/api.go
parent5db35c32de9926f78d665a3ac6093b72b8e2b599 (diff)
API bug fixed
Diffstat (limited to 'web/controller/api.go')
-rw-r--r--web/controller/api.go2
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)