replace layout example index with listing hosts
This commit is contained in:
parent
0141862b26
commit
3884ff5a09
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user