fix(web): add web app manifest so installed app keeps its scope (#4306)
This commit is contained in:
1 parent
7083bce26a
commit
21b6fb528d
2 files changed
+21
No files matched your search
@@ -9,6 +9,7 @@
|
||||
<meta name="theme-color" content="#0a0a0a" />
|
||||
<link rel="icon" href="/favicon.ico" sizes="48x48" />
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
||||
<link rel="manifest" href="/manifest.webmanifest" />
|
||||
<script>
|
||||
(() => {
|
||||
const LIGHT_BACKGROUND = "#ffffff";
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "/",
|
||||
"start_url": "/",
|
||||
"scope": "/",
|
||||
"display": "standalone",
|
||||
"background_color": "#161616",
|
||||
"theme_color": "#161616",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/favicon-32x32.png",
|
||||
"sizes": "32x32",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/apple-touch-icon.png",
|
||||
"sizes": "180x180",
|
||||
"type": "image/png"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user