diff --git a/examples/minimal-htmgo/main.go b/examples/minimal-htmgo/main.go index ff705d2..4e275d3 100644 --- a/examples/minimal-htmgo/main.go +++ b/examples/minimal-htmgo/main.go @@ -8,7 +8,7 @@ import ( func main() { router := chi.NewRouter() - fileServer := http.StripPrefix("/public", http.FileServer(http.Dir("./assets/public"))) + fileServer := http.StripPrefix("/public", http.FileServer(http.Dir("./public"))) router.Handle("/public/*", fileServer) router.Get("/", func(writer http.ResponseWriter, request *http.Request) { diff --git a/examples/minimal-htmgo/assets/public/htmgo.js b/examples/minimal-htmgo/public/htmgo.js similarity index 100% rename from examples/minimal-htmgo/assets/public/htmgo.js rename to examples/minimal-htmgo/public/htmgo.js