Change route path '/xui' to '/panel'

This commit is contained in:
Hamidreza Ghavami
2023-05-12 22:36:05 +04:30
parent 288374d5fa
commit b0871a6ef6
9 changed files with 35 additions and 35 deletions

View File

@@ -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)