mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-19 00:56:16 +00:00
The /favicon.ico route was redirecting r.URL.Path to "/media/favicon-braille.svg" and calling HandleMedia. HandleMedia strips "/media" and serves from the embedded static/media/ subtree — which does not contain a favicon. The actual asset lives under the embedded web/img/ subtree (see the `web/img/favicon-braille*` embed directive in handlers_media.go). Repoint to "/web/img/favicon-braille.svg" + HandleWeb. http.FileServer inside HandleWeb finds the file at its native embed path and serves it with the right Content-Type. Pre-existing bug exposed by Stockholm because that frontend triggers a /favicon.ico request from every loaded page; without this fix the browser fills the console with a 404 on every Stockholm view. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>