Fix PWA manifest (#4922)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user