Skip to content

Commit 21b6fb5

Browse files
authored
fix(web): add web app manifest so installed app keeps its scope (pingdotgg#4306)
1 parent 7083bce commit 21b6fb5

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

‎apps/web/index.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<meta name="theme-color" content="#0a0a0a" />
1010
<link rel="icon" href="/favicon.ico" sizes="48x48" />
1111
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
12+
<link rel="manifest" href="/manifest.webmanifest" />
1213
<script>
1314
(() => {
1415
const LIGHT_BACKGROUND = "#ffffff";
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"id": "/",
3+
"start_url": "/",
4+
"scope": "/",
5+
"display": "standalone",
6+
"background_color": "#161616",
7+
"theme_color": "#161616",
8+
"icons": [
9+
{
10+
"src": "/favicon-32x32.png",
11+
"sizes": "32x32",
12+
"type": "image/png"
13+
},
14+
{
15+
"src": "/apple-touch-icon.png",
16+
"sizes": "180x180",
17+
"type": "image/png"
18+
}
19+
]
20+
}

0 commit comments

Comments
 (0)