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:
authormhsanaei <ho3ein.sanaei@gmail.com>2025-09-17 02:08:59 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2025-09-17 02:08:59 +0300
commit22afa50901f9b800c22745a4166655a0d525fc53 (patch)
treee04eb3c4f9f8bdc1b3d2b3e3b4fe789b2b098f63 /web/controller/xray_setting.go
parentbc274d1e1fc773f877b027e9f04d15faf8881ca5 (diff)
fix CPU History intervals
Diffstat (limited to 'web/controller/xray_setting.go')
-rw-r--r--web/controller/xray_setting.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/controller/xray_setting.go b/web/controller/xray_setting.go
index 5b2d1036..2b5e0db1 100644
--- a/web/controller/xray_setting.go
+++ b/web/controller/xray_setting.go
@@ -23,13 +23,13 @@ func NewXraySettingController(g *gin.RouterGroup) *XraySettingController {
func (a *XraySettingController) initRouter(g *gin.RouterGroup) {
g = g.Group("/xray")
+ g.GET("/getDefaultJsonConfig", a.getDefaultXrayConfig)
+ g.GET("/getOutboundsTraffic", a.getOutboundsTraffic)
+ g.GET("/getXrayResult", a.getXrayResult)
g.POST("/", a.getXraySetting)
- g.POST("/update", a.updateSetting)
- g.GET("/getXrayResult", a.getXrayResult)
- g.GET("/getDefaultJsonConfig", a.getDefaultXrayConfig)
g.POST("/warp/:action", a.warp)
- g.GET("/getOutboundsTraffic", a.getOutboundsTraffic)
+ g.POST("/update", a.updateSetting)
g.POST("/resetOutboundsTraffic", a.resetOutboundsTraffic)
}