Icons: a service's own set or chrome's generic one, and /favicon.ico answered #1

Merged
michal merged 1 commit from icons into main 2026-10-12 21:17:25 +00:00
Owner

The head linked only icons/favicon.svg under the service's static dir, so scribe (icon elsewhere) and agent-bridge (no icon) showed none, and Safari/bookmark bars//favicon.ico got 404 everywhere. Chrome now resolves svg, 32 px png, Apple touch icon, 192 and 512 from the service's static dir with fallbacks to a generic set shipped here, links svg + png + touch icon, and answers /favicon.ico and /apple-touch-icon.png at the root and under the mount prefix. Tagged v0.7.0 (annotated, on this commit). 29 tests.

🤖 Generated with Claude Code

The head linked only `icons/favicon.svg` under the service's static dir, so scribe (icon elsewhere) and agent-bridge (no icon) showed none, and Safari/bookmark bars/`/favicon.ico` got 404 everywhere. Chrome now resolves svg, 32 px png, Apple touch icon, 192 and 512 from the service's static dir with fallbacks to a generic set shipped here, links svg + png + touch icon, and answers `/favicon.ico` and `/apple-touch-icon.png` at the root and under the mount prefix. Tagged v0.7.0 (annotated, on this commit). 29 tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
michal added 1 commit 2026-10-12 21:01:16 +00:00
The head linked `icons/favicon.svg` under the service's static files and
nothing else, so a service that kept its icon elsewhere (scribe) or had
none (agent-bridge) showed no icon at all, and clients that ignore SVG
(Safari, bookmark bars) or ask /favicon.ico without reading the page got
a 404 everywhere. Chrome now resolves five icon kinds - svg, 32 px png,
the Apple touch icon, 192 and 512 - from the service's static dir with a
few accepted paths each, falling back per kind to a generic set shipped
here, links svg + png + touch icon in the head, and answers /favicon.ico
and /apple-touch-icon.png at the root and under the mount prefix.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
michal merged commit f7b1e48daa into main 2026-10-12 21:17:25 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: michal/chrome#1
No description provided.