fix: use purpose: any
for normal pwa icon (#1981)
This commit is contained in:
parent
189d358b2a
commit
fb1ca7d8f1
|
@ -93,12 +93,13 @@ export async function createI18n(): Promise<LocalizedWebManifest> {
|
||||||
src: 'pwa-512x512.png',
|
src: 'pwa-512x512.png',
|
||||||
sizes: '512x512',
|
sizes: '512x512',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
|
purpose: 'any',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'maskable-icon.png',
|
src: 'maskable-icon.png',
|
||||||
sizes: '512x512',
|
sizes: '512x512',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
purpose: 'any maskable',
|
purpose: 'maskable',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
share_target: {
|
share_target: {
|
||||||
|
@ -140,12 +141,13 @@ export async function createI18n(): Promise<LocalizedWebManifest> {
|
||||||
src: 'pwa-512x512.png',
|
src: 'pwa-512x512.png',
|
||||||
sizes: '512x512',
|
sizes: '512x512',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
|
purpose: 'any',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'maskable-icon.png',
|
src: 'maskable-icon.png',
|
||||||
sizes: '512x512',
|
sizes: '512x512',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
purpose: 'any maskable',
|
purpose: 'maskable',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
share_target: {
|
share_target: {
|
||||||
|
|
Loading…
Reference in a new issue