Add admin index page

This commit is contained in:
structix committed 2020-10-11 23:02:57 +02:00
1 parent e5c0df6f6f
commit 2a1ef7f2cb
5 files changed
+39 -11

No files matched your search

+1
View File
@@ -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))
}