fix: use purpose: any for normal pwa icon (#1981)

This commit is contained in:
Daniel Roe 2023-04-15 17:16:20 +01:00 committed by GitHub
parent 189d358b2a
commit fb1ca7d8f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,12 +93,13 @@ export async function createI18n(): Promise<LocalizedWebManifest> {
src: 'pwa-512x512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any',
},
{
src: 'maskable-icon.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any maskable',
purpose: 'maskable',
},
],
share_target: {
@ -140,12 +141,13 @@ export async function createI18n(): Promise<LocalizedWebManifest> {
src: 'pwa-512x512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any',
},
{
src: 'maskable-icon.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any maskable',
purpose: 'maskable',
},
],
share_target: {