diff options
| author | Ho3ein <ho3ein.sanaei@gmail.com> | 2023-05-05 00:19:23 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-05 00:19:23 +0300 |
| commit | e164c7e7801c2c0a9cae9bc0516f84cdee86672b (patch) | |
| tree | 8c1cd095b31723d8a16c78c8e65089f841450c37 /web/controller/xui.go | |
| parent | 20bfd71cf18cc60a5e118fc848eb62e49b50906e (diff) | |
| parent | 481d4beabb2625c51440c734654de24b18d9e1b1 (diff) | |
Merge pull request #332 from hamid-gh98/main
[Update] sub remark + settings UI
Diffstat (limited to 'web/controller/xui.go')
| -rw-r--r-- | web/controller/xui.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/controller/xui.go b/web/controller/xui.go index 5832be84..1844181d 100644 --- a/web/controller/xui.go +++ b/web/controller/xui.go @@ -23,7 +23,7 @@ func (a *XUIController) initRouter(g *gin.RouterGroup) { g.GET("/", a.index) g.GET("/inbounds", a.inbounds) - g.GET("/setting", a.setting) + g.GET("/settings", a.settings) a.inboundController = NewInboundController(g) a.settingController = NewSettingController(g) @@ -37,6 +37,6 @@ func (a *XUIController) inbounds(c *gin.Context) { html(c, "inbounds.html", "pages.inbounds.title", nil) } -func (a *XUIController) setting(c *gin.Context) { - html(c, "setting.html", "pages.setting.title", nil) +func (a *XUIController) settings(c *gin.Context) { + html(c, "settings.html", "pages.settings.title", nil) } |
