diff --git a/internal/web/templates/header.html b/internal/web/templates/header.html index 066def0..eefdb07 100644 --- a/internal/web/templates/header.html +++ b/internal/web/templates/header.html @@ -7,7 +7,7 @@ - + diff --git a/internal/web/templates/index.html b/internal/web/templates/index.html index ea8a596..495ad13 100644 --- a/internal/web/templates/index.html +++ b/internal/web/templates/index.html @@ -1,7 +1,7 @@ {{ define "index.html" }} - - + +
diff --git a/internal/web/webgui.go b/internal/web/webgui.go index b0994a9..4082527 100644 --- a/internal/web/webgui.go +++ b/internal/web/webgui.go @@ -43,7 +43,7 @@ func Gui(dirPath, nodePath string) { templ := template.Must(template.New("").ParseFS(templFS, "templates/*")) router.SetHTMLTemplate(templ) - router.StaticFS("/public", http.FS(pubFS)) + router.StaticFS("/fs/", http.FS(pubFS)) router.GET("/", indexHandler) // index.go router.GET("/config/", configHandler) // config.go