aboutsummaryrefslogtreecommitdiff
path: root/resources.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-04-03 15:57:23 +0800
committerRunxi Yu <me@runxiyu.org>2025-04-03 15:57:23 +0800
commit2c6c540d9aea58b4223a55ea197366d35baca231 (patch)
tree90aafe7797c38c63f0155b967649689b0f807fc8 /resources.go
parentconfig: Add git.socket for git2d (diff)
downloadforge-2c6c540d9aea58b4223a55ea197366d35baca231.tar.gz
forge-2c6c540d9aea58b4223a55ea197366d35baca231.tar.zst
forge-2c6c540d9aea58b4223a55ea197366d35baca231.zip
resources: Embed git2d
Diffstat (limited to 'resources.go')
-rw-r--r--resources.go4
1 files changed, 3 insertions, 1 deletions
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