chore(display): directly bundle htmx

for more independence and offline support
This commit is contained in:
2025-11-15 11:16:22 +01:00
parent 273879c55a
commit c653538b31
5 changed files with 22 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
package web
import (
"embed"
"io/fs"
)
//go:embed all:static
var staticDir embed.FS
// BuildDirFS contains the embedded dist directory files (without the "build" prefix)
var StaticDirFS, _ = fs.Sub(staticDir, "static")