fix: PWA installability broke on recent Chrome updates
This commit is contained in:
@@ -115,8 +115,8 @@ export default () =>
|
||||
short_name: "Outline",
|
||||
theme_color: "#fff",
|
||||
background_color: "#fff",
|
||||
start_url: "/",
|
||||
scope: "/",
|
||||
start_url: process.env.URL ?? "/",
|
||||
scope: process.env.URL ?? "/",
|
||||
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
|
||||
@@ -124,7 +124,7 @@ export default () =>
|
||||
// pixel-perfection, provide icons in increments of 48dp.
|
||||
icons: [
|
||||
{
|
||||
src: "/static/images/icon-512.png",
|
||||
src: "/static/images/icon-192.png",
|
||||
sizes: "192x192",
|
||||
type: "image/png",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user