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:
authorHamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com>2023-05-12 21:06:05 +0300
committerHamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com>2023-05-12 21:15:32 +0300
commitb0871a6ef650e3776fd0f76799e698c20bed1fd2 (patch)
treecc81b1f5033ba3b853019a0ca69dcb40207b45c3 /web/controller/index.go
parent288374d5fa6eedb3131326e60437c0acf058d32f (diff)
Change route path '/xui' to '/panel'
Diffstat (limited to 'web/controller/index.go')
-rw-r--r--web/controller/index.go2
1 files changed, 1 insertions, 1 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)