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

BIN
public/images/icon-192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 13 KiB

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