fix: PWA installability broke on recent Chrome updates

This commit is contained in:
Tom Moor
2023-11-27 19:11:11 -05:00
parent bbca133455
commit e01a0a1b64
4 changed files with 3 additions and 3 deletions

View File

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