From 3884ff5a099a7b2092e96253fe82d5f2cc295527 Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 27 Jul 2021 21:17:57 +0200 Subject: [PATCH] replace layout example index with listing hosts --- dyndns/main.go | 2 +- dyndns/views/{index.html => index_sample.html} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename dyndns/views/{index.html => index_sample.html} (100%) diff --git a/dyndns/main.go b/dyndns/main.go index 34b0ce6..f5c6e7a 100644 --- a/dyndns/main.go +++ b/dyndns/main.go @@ -47,7 +47,7 @@ func main() { // UI Routes e.GET("/", func(c echo.Context) error { //render with master - return c.Render(http.StatusOK, "index", nil) + return c.Render(http.StatusOK, "listhosts", nil) }) e.GET("/hosts/add", h.AddHost) diff --git a/dyndns/views/index.html b/dyndns/views/index_sample.html similarity index 100% rename from dyndns/views/index.html rename to dyndns/views/index_sample.html