Fix PWA manifest (#4922)

This commit is contained in:
Tom Moor
2023-02-23 21:52:25 -05:00
committed by GitHub
parent 49bc0ed9f7
commit 3acc352cf0
2 changed files with 7 additions and 6 deletions

View File

@@ -8,6 +8,7 @@
<meta name="color-scheme" content="light dark" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="description" content="//inject-description//" />
<link rel="manifest" href="/static/manifest.webmanifest" />
<link
rel="canonical"
href="//inject-canonical//"
@@ -17,13 +18,13 @@
<link
rel="shortcut icon"
type="image/png"
href="/images/favicon-32.png"
href="/static/images/favicon-32.png"
sizes="32x32"
/>
<link
rel="apple-touch-icon"
type="image/png"
href="/images/apple-touch-icon.png"
href="/static/images/apple-touch-icon.png"
sizes="192x192"
/>
<link

View File

@@ -55,10 +55,10 @@ export default () => {
manifest: {
name: "Outline",
short_name: "Outline",
// description: "My Awesome App description",
theme_color: "#fff",
background_color: "#fff",
start_url: "/",
scope: "/",
display: "standalone",
// For Chrome, you must provide at least a 192x192 pixel icon, and a 512x512 pixel icon.
// If only those two icon sizes are provided, Chrome will automatically scale the icons
@@ -66,18 +66,18 @@ export default () => {
// pixel-perfection, provide icons in increments of 48dp.
icons: [
{
src: "images/icon-512.png",
src: "/static/images/icon-512.png",
sizes: "192x192",
type: "image/png",
},
{
src: "images/icon-512.png",
src: "/static/images/icon-512.png",
sizes: "512x512",
type: "image/png",
},
// last one duplicated for purpose: 'any maskable'
{
src: "images/icon-512.png",
src: "/static/images/icon-512.png",
sizes: "512x512",
type: "image/png",
purpose: "any maskable",