HH-549: serve the default favicon (#147)

* chore(agent): baseline — uncommitted work from the local directory

* HH-549: serve the default favicon

* Revert "chore(agent): baseline — uncommitted work from the local directory"

This reverts commit 4a3fabe624bfdc52bf935b62cb9871b7de9b3083.

---------

Co-authored-by: Rogee <rogee@ipao.vip>
This commit is contained in:
Rogee
2026-08-24 10:09:24 +08:00
committed by GitHub
co-authored by rogee
parent 4204ae6a3a
commit eda4889d85
2 changed files with 6 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

+6
View File
@@ -20,6 +20,12 @@ assert.match(
html,
/<script\b[^>]*\bsrc="\/runtime-config\.js"[^>]*><\/script>/
);
assert.ok(
readFileSync(new URL('../dist/favicon.ico', import.meta.url)).equals(
readFileSync(new URL('../public/favicon-32x32.png', import.meta.url))
),
'favicon.ico must reuse the GoChat favicon'
);
assert.ok(
html.indexOf('/runtime-config.js') < html.indexOf('type="module"'),
'runtime config must load before the app module'