From 95e006963c92ef53f92d6f10ee829f63406d211c Mon Sep 17 00:00:00 2001 From: Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> Date: Fri, 12 May 2023 19:32:04 +0430 Subject: add searchDatafiles route --- web/controller/index.go | 1 - 1 file changed, 1 deletion(-) (limited to 'web/controller/index.go') diff --git a/web/controller/index.go b/web/controller/index.go index 802f3f7d..5b97a7cc 100644 --- a/web/controller/index.go +++ b/web/controller/index.go @@ -101,5 +101,4 @@ func (a *IndexController) getSecretStatus(c *gin.Context) { if err == nil { jsonObj(c, status, nil) } - } -- cgit v1.2.3 From b0871a6ef650e3776fd0f76799e698c20bed1fd2 Mon Sep 17 00:00:00 2001 From: Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> Date: Fri, 12 May 2023 22:36:05 +0430 Subject: Change route path '/xui' to '/panel' --- web/controller/index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/controller/index.go') 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) -- cgit v1.2.3