Embed all of static

This commit is contained in:
Maximilian Friedersdorff 2025-06-26 21:22:30 +01:00
parent e3fc5f5f10
commit 107f11a23a

View file

@ -69,7 +69,7 @@ var (
{Path: "icons/eye.svg", Url: "https://raw.githubusercontent.com/twbs/icons/refs/heads/main/icons/eye.svg"},
}
BaseTemplate string = "base.tmpl.html"
//go:embed static/css/* static/icons/* static/js/*
//go:embed static/*
Static embed.FS
//go:embed templates/*
Templates embed.FS