diff --git a/server.go b/server.go index 1c8e0b1..c843fc3 100644 --- a/server.go +++ b/server.go @@ -8,6 +8,7 @@ import ( func main() { e := echo.New() + e.Static("/", "static") e.GET("/", func(c echo.Context) error { return c.String(http.StatusOK, "Hello, World!") }) diff --git a/index.html b/static/index.html similarity index 98% rename from index.html rename to static/index.html index f3bc292..d734912 100644 --- a/index.html +++ b/static/index.html @@ -133,6 +133,7 @@ + diff --git a/static/index.js b/static/index.js new file mode 100644 index 0000000..e69de29 diff --git a/static/style.css b/static/style.css new file mode 100644 index 0000000..e69de29