Skip to content

Commit

Permalink
fix: use purpose: any for normal pwa icon (#1981)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Apr 15, 2023
1 parent 189d358 commit fb1ca7d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/pwa/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -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: {
Expand Down

0 comments on commit fb1ca7d

Please sign in to comment.