mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-28 13:28:52 +03:00
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',
|
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