forked from Mirrors/elk
fix: use purpose: any
for normal pwa icon (#1981)
This commit is contained in:
parent
189d358b2a
commit
fb1ca7d8f1
1 changed files with 4 additions and 2 deletions
|
@ -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 a new issue