mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
console: display running version
This commit is contained in:
@@ -83,6 +83,7 @@ func (c *Component) Start() error {
|
||||
|
||||
c.d.HTTP.AddHandler("/", netHTTP.HandlerFunc(c.assetsHandlerFunc))
|
||||
endpoint := c.d.HTTP.GinRouter.Group("/api/v0/console", c.d.Auth.UserAuthentication())
|
||||
endpoint.GET("/configuration", c.configHandlerFunc)
|
||||
endpoint.GET("/docs/:name", c.docsHandlerFunc)
|
||||
endpoint.GET("/widget/flow-last", c.widgetFlowLastHandlerFunc)
|
||||
endpoint.GET("/widget/flow-rate", c.widgetFlowRateHandlerFunc)
|
||||
|
||||
Reference in New Issue
Block a user