admin: New routes to expose git repositories status

This commit is contained in:
nemunaire 2023-10-23 12:03:40 +02:00
parent 598b34eb4f
commit b08039c997
8 changed files with 265 additions and 0 deletions

View file

@ -68,6 +68,9 @@ func declareStaticRoutes(router *gin.RouterGroup, cfg *settings.Settings, baseUR
router.GET("/pki/*_", func(c *gin.Context) {
serveIndex(c)
})
router.GET("/repositories", func(c *gin.Context) {
serveIndex(c)
})
router.GET("/settings", func(c *gin.Context) {
serveIndex(c)
})