소스 검색

API bug fixed

Ho3ein 1 년 전
부모
커밋
d74b39b9cf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      web/controller/api.go

+ 1 - 1
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)