Add admin index page
This commit is contained in:
1 parent
e5c0df6f6f
commit
2a1ef7f2cb
5 files changed
+39
-11
No files matched your search
@@ -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