fix: use `purpose: any` for normal pwa icon (#1981)
parent
189d358b2a
commit
fb1ca7d8f1
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue