fix: absolute favicon path (/icons not ./icons) for SPA deep routes

Relative ./icons resolved against the current route (e.g. /markdown/1 ->
/markdown/icons/...) and hit the SPA fallback, so the favicon never loaded.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
h z
2026-05-17 15:26:30 +01:00
parent f4787d0a27
commit 16a0861f77

View File

@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="color-scheme" content="dark">
<title>Hangman Lab</title>
<link rel="icon" type="image/svg+xml" href="./icons/hangman-lab-logo.svg?v=hl-20260517">
<link rel="icon" type="image/svg+xml" href="/icons/hangman-lab-logo.svg?v=hl-20260517">
<link rel="stylesheet" href="/fonts/fonts.css">
</head>
<body>