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

@@ -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",