about summary refs log tree commit diff stats
path: root/internal/server/server.go
diff options
context:
space:
mode:
authorAlan Pearce2024-05-04 12:38:32 +0200
committerAlan Pearce2024-05-04 14:49:08 +0200
commitdf2a55f82d5efeed8c59c5cf3b4e7381c97959b5 (patch)
treedb5fe1e53a4317fa8d35ef9596a082ac20fe70de /internal/server/server.go
parent1fb64b09e2dba34784732a61cbebc119cd847803 (diff)
downloadsearchix-df2a55f82d5efeed8c59c5cf3b4e7381c97959b5.tar.lz
searchix-df2a55f82d5efeed8c59c5cf3b4e7381c97959b5.tar.zst
searchix-df2a55f82d5efeed8c59c5cf3b4e7381c97959b5.zip
chore: use prettier with plugin to format go templates
Diffstat (limited to 'internal/server/server.go')
-rw-r--r--internal/server/server.go2
1 files changed, 1 insertions, 1 deletions
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()