Skip to content

Commit 0c472da

Browse files
committed
remove dead code, re-implement PWA manifest.json support
1 parent b4cccac commit 0c472da

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

manifest.json renamed to assets/manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"start_url": "/",
55
"display": "standalone",
66
"orientation": "portrait",
7-
"background_color": "#fff",
8-
"theme_color": "#673ab8",
7+
"background_color": "#3b4252",
8+
"theme_color": "#3b4252",
99
"icons": [
1010
{
11-
"src": "/assets/icon.png",
11+
"src": "/icon.png",
1212
"type": "image/png",
1313
"sizes": "512x512"
1414
}

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<meta name="mobile-web-app-capable" content="yes">
99
<meta name="apple-mobile-web-app-capable" content="yes">
1010
<link rel="icon" href="/favicon.ico">
11+
<link rel="manifest" href="/manifest.json">
1112
</head>
1213

1314
<body>

size-plugin-ssr.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)