fuzzyworld

dm / commit

fix: use relative paths for dice.png (favicon + title icon)

aab0d5c4cfeda3f185fb3203d0a9bb506d2f4d62 · Pavel Safronov · 2026-05-27 17:45:06 -0700 · parents 5b1b771cac9a

fix: use relative paths for dice.png (favicon + title icon)

Absolute paths (/dice.png) broke on GitLab Pages since the site is
deployed at /dm/, not the root.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
 public/index.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/public/index.html b/public/index.html
index a897a67..ca41061 100644
--- a/public/index.html
+++ b/public/index.html
@@ -4,7 +4,7 @@
 <meta charset="UTF-8">
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <title>Solo Dungeon Master</title>
-<link rel="icon" type="image/png" href="/dice.png">
+<link rel="icon" type="image/png" href="dice.png">
 <link href="https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap" rel="stylesheet">
 <style>
 :root {
@@ -850,7 +850,7 @@ body {
 
 <!-- ── CHARACTER CREATION ───────────────────── -->
 <div id="creation-screen">
-  <div class="creation-title"><img src="/dice.png" alt="" style="height:0.85em;vertical-align:middle;margin-right:0.2em;filter:invert(1) sepia(1) saturate(2) hue-rotate(5deg) brightness(0.9)"> Solo Dungeon Master</div>
+  <div class="creation-title"><img src="dice.png" alt="" style="height:0.85em;vertical-align:middle;margin-right:0.2em;filter:invert(1) sepia(1) saturate(2) hue-rotate(5deg) brightness(0.9)"> Solo Dungeon Master</div>
   <div class="creation-sub">Powered by Claude — your story begins here</div>
 
   <div class="creation-section">