From 8294736bcb8d5d985be692630ad5bdb3111eb948 Mon Sep 17 00:00:00 2001 From: eduard256 Date: Sat, 18 Apr 2026 08:07:35 +0000 Subject: [PATCH] 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. --- www/static.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/static.go b/www/static.go index 80e6b16..93524f9 100644 --- a/www/static.go +++ b/www/static.go @@ -2,5 +2,5 @@ package www import "embed" -//go:embed *.html +//go:embed *.html icons var Static embed.FS