Add admin routes
This commit is contained in:
@ -54,6 +54,7 @@ func (h *Handler) Serve() {
|
||||
authenticatedFrontend.GET("/budget/:budgetid", h.budget)
|
||||
authenticatedFrontend.GET("/budget/:budgetid/accounts", h.accounts)
|
||||
authenticatedFrontend.GET("/admin", h.admin)
|
||||
authenticatedFrontend.GET("/admin/clear-database", h.clearDatabase)
|
||||
}
|
||||
api := router.Group("/api/v1")
|
||||
{
|
||||
|
Reference in New Issue
Block a user