From 4ff4c3bd8b1873adc336f221fc9a7c83578c2185 Mon Sep 17 00:00:00 2001 From: Jaayden Halko Date: Wed, 11 Feb 2026 17:08:08 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20fix:=20restore=20browser=20favic?= =?UTF-8?q?on=20loading=20in=20web=20UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Switch the browser favicon links to PNG assets with relative paths, update theme-based favicon swapping to resolve against the document base URL, and harden static serving so missing asset requests are not rewritten to index.html. Also add PNG favicon outputs to icon generation, include .ico files in npm packaging for compatibility, and extend tests around static asset fallback and themed favicon behavior. --- _Generated with `mux` • Model: `openai:gpt-5.3-codex` • Thinking: `xhigh` • Cost: `$0.73`_ --- index.html | 5 +- package.json | 1 + public/favicon-dark.png | Bin 0 -> 1926 bytes public/favicon.png | Bin 0 -> 1947 bytes scripts/generate-icons.ts | 14 ++- src/browser/contexts/ThemeContext.test.tsx | 20 +++++ src/browser/contexts/ThemeContext.tsx | 22 +++-- src/node/orpc/server.test.ts | 96 ++++++++++++++++++++- src/node/orpc/server.ts | 46 ++++++++-- src/node/services/serverService.ts | 10 ++- 10 files changed, 198 insertions(+), 16 deletions(-) create mode 100644 public/favicon-dark.png create mode 100644 public/favicon.png diff --git a/index.html b/index.html index 499ddd9c44..80a14492a8 100644 --- a/index.html +++ b/index.html @@ -9,8 +9,9 @@ - - + + + mux - coder multiplexer