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:
Diffstat (limited to 'web/controller')
-rw-r--r--web/controller/index.go2
-rw-r--r--web/controller/xui.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/controller/index.go b/web/controller/index.go
index 5b97a7cc..b0ee83f8 100644
--- a/web/controller/index.go
+++ b/web/controller/index.go
@@ -39,7 +39,7 @@ func (a *IndexController) initRouter(g *gin.RouterGroup) {
func (a *IndexController) index(c *gin.Context) {
if session.IsLogin(c) {
- c.Redirect(http.StatusTemporaryRedirect, "xui/")
+ c.Redirect(http.StatusTemporaryRedirect, "panel/")
return
}
html(c, "login.html", "pages.login.title", nil)
diff --git a/web/controller/xui.go b/web/controller/xui.go
index 1844181d..700bd52c 100644
--- a/web/controller/xui.go
+++ b/web/controller/xui.go
@@ -18,7 +18,7 @@ func NewXUIController(g *gin.RouterGroup) *XUIController {
}
func (a *XUIController) initRouter(g *gin.RouterGroup) {
- g = g.Group("/xui")
+ g = g.Group("/panel")
g.Use(a.checkLogin)
g.GET("/", a.index)