add /instances route
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jeffrey Paul 2020-04-09 03:08:50 -07:00
parent ebe241ac3e
commit 23d02b1c99

View File

@ -96,6 +96,7 @@ func (s *Server) initRouter() {
// Routes // Routes
s.e.GET("/", s.indexHandler) s.e.GET("/", s.indexHandler)
s.e.GET("/instance/:uuid", s.instanceHandler) s.e.GET("/instance/:uuid", s.instanceHandler)
s.e.GET("/instances", s.instanceListHandler)
s.e.GET("/stats.json", s.statsHandler) s.e.GET("/stats.json", s.statsHandler)
s.e.GET("/.well-known/healthcheck.json", s.healthCheckHandler) s.e.GET("/.well-known/healthcheck.json", s.healthCheckHandler)
//a.e.GET("/about", s.aboutHandler) //a.e.GET("/about", s.aboutHandler)