diff --git a/server/handlers.go b/server/handlers.go index 39c7c26..9c00d22 100644 --- a/server/handlers.go +++ b/server/handlers.go @@ -66,7 +66,7 @@ func rootHandler(w http.ResponseWriter, r *http.Request) { return } w.Header().Set("Content-Type", "text/html; charset=utf-8") - tmpl, _ := templateFS.ReadFile("index.html") + tmpl, _ := templateFS.ReadFile("templates/index.html") html := strings.Replace(string(tmpl), "{{.Version}}", VERSION, 1) fmt.Fprint(w, html) }