replace layout example index with listing hosts

This commit is contained in:
Ben 2021-07-27 21:17:57 +02:00
parent 0141862b26
commit 3884ff5a09
2 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ func main() {
// UI Routes // UI Routes
e.GET("/", func(c echo.Context) error { e.GET("/", func(c echo.Context) error {
//render with master //render with master
return c.Render(http.StatusOK, "index", nil) return c.Render(http.StatusOK, "listhosts", nil)
}) })
e.GET("/hosts/add", h.AddHost) e.GET("/hosts/add", h.AddHost)