Skip to content

Commit ae0e6ca

Browse files
committed
fix: Use relative paths for favicons and manifest to support GitHub
1 parent 3fdfe32 commit ae0e6ca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>OpenRando - Quantum Randonautica</title>
7-
<link rel="icon" type="image/png" sizes="192x192" href="/favicon192.png" />
7+
<link rel="icon" type="image/png" sizes="192x192" href="favicon192.png" />
88
<link rel="manifest" href="/manifest.json" />
99
<meta name="theme-color" content="#0a0a0a" />
1010
</head>

public/manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
"name": "OpenRando",
33
"short_name": "OpenRando",
44
"description": "Quantum Randonautica App",
5-
"start_url": "/",
5+
"start_url": ".",
66
"display": "standalone",
77
"background_color": "#0a0a0a",
88
"theme_color": "#0a0a0a",
99
"icons": [
1010
{
11-
"src": "/favicon192.png",
11+
"src": "favicon192.png",
1212
"sizes": "192x192",
1313
"type": "image/png"
1414
},
1515
{
16-
"src": "/favicon512.png",
16+
"src": "favicon512.png",
1717
"sizes": "512x512",
1818
"type": "image/png"
1919
}

0 commit comments

Comments
 (0)