Embed icons directory in static assets

Frontend needs access to icons (e.g. mihome.webp for Xiaomi page).
The //go:embed directive was limited to *.html only, so binary
assets in www/icons/ were never served.
This commit is contained in:
eduard256
2026-04-18 08:07:35 +00:00
parent 26e54a56db
commit 8294736bcb
+1 -1
View File
@@ -2,5 +2,5 @@ package www
import "embed" import "embed"
//go:embed *.html //go:embed *.html icons
var Static embed.FS var Static embed.FS