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

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