From 2c6c540d9aea58b4223a55ea197366d35baca231 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 3 Apr 2025 15:57:23 +0800 Subject: resources: Embed git2d --- resources.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources.go b/resources.go index 9d36ddf..85d4d7e 100644 --- a/resources.go +++ b/resources.go @@ -21,7 +21,9 @@ var sourceHandler = http.StripPrefix( http.FileServer(http.FS(sourceFS)), ) -//go:embed templates/* static/* hookc/hookc man/*.html man/*.txt man/*.css +//go:embed templates/* static/* +//go:embed man/*.html man/*.txt man/*.css +//go:embed hookc/hookc git2d/git2d var resourcesFS embed.FS var templates *template.Template -- cgit v1.2.3