diff options
| author | kaveh-ahangar <123722737+kaveh-ahangar@users.noreply.github.com> | 2023-05-05 12:36:59 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-05 12:36:59 +0300 |
| commit | 73704e38d5d405ab32654763936c924b43fd3a81 (patch) | |
| tree | ee2a2fa66b478fffa4ce5163f4cf70ee6bf2ba45 /web/controller/xui.go | |
| parent | 1680bb36c3e9c2f89c72947e1735337fe5fd1e8b (diff) | |
| parent | 1a603b2501b8c3d82b59eb249cfb8e13421e64de (diff) | |
Merge branch 'MHSanaei:main' into main
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) } |
