From df2a55f82d5efeed8c59c5cf3b4e7381c97959b5 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 4 May 2024 12:38:32 +0200 Subject: chore: use prettier with plugin to format go templates --- internal/server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/server/server.go') diff --git a/internal/server/server.go b/internal/server/server.go index 04ee94c..bb29ff3 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -88,7 +88,7 @@ func New(runtimeConfig *Config) (*Server, error) { Repanic: true, }) - templatePaths := path.Join("frontend", "templates", "*.tmpl") + templatePaths := path.Join("frontend", "templates", "*.gotmpl") tpl := template.Must(template.ParseGlob(templatePaths)) top := http.NewServeMux() -- cgit 1.4.1