fix(launcher): embed favicon.svg in binary to fix 404
Add favicon.svg to go:embed directive so it is included in the compiled binary and served correctly at /favicon.svg
This commit is contained in:
parent
b835a6e7ca
commit
9ac398569e
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ import (
|
|||
"github.com/sipeed/picoclaw/cmd/picoclaw-launcher/internal/server"
|
||||
)
|
||||
|
||||
//go:embed internal/ui/index.html
|
||||
//go:embed internal/ui/index.html internal/ui/favicon.svg
|
||||
var staticFiles embed.FS
|
||||
|
||||
func main() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue