Embed all of static
This commit is contained in:
parent
e3fc5f5f10
commit
107f11a23a
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ var (
|
||||||
{Path: "icons/eye.svg", Url: "https://raw.githubusercontent.com/twbs/icons/refs/heads/main/icons/eye.svg"},
|
{Path: "icons/eye.svg", Url: "https://raw.githubusercontent.com/twbs/icons/refs/heads/main/icons/eye.svg"},
|
||||||
}
|
}
|
||||||
BaseTemplate string = "base.tmpl.html"
|
BaseTemplate string = "base.tmpl.html"
|
||||||
//go:embed static/css/* static/icons/* static/js/*
|
//go:embed static/*
|
||||||
Static embed.FS
|
Static embed.FS
|
||||||
//go:embed templates/*
|
//go:embed templates/*
|
||||||
Templates embed.FS
|
Templates embed.FS
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue