Add admin index page
This commit is contained in:
@@ -21,5 +21,6 @@ func RoutesInit(router *gin.Engine, pool *pgxpool.Pool, config *models.Config) {
|
||||
|
||||
// Basic auth routes
|
||||
authorized.GET("/", handler.AdminMainPage(pool))
|
||||
authorized.POST("/changename", handler.ChangeName(pool))
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user