Fix PWA icons: remove sizes/type, let bundle auto-resize from source image
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -22,12 +22,8 @@ pwa:
|
||||
- events
|
||||
icons:
|
||||
- src: '%kernel.project_dir%/public/favicon.png'
|
||||
sizes: 512x512
|
||||
type: image/png
|
||||
purpose: any
|
||||
- src: '%kernel.project_dir%/public/favicon.png'
|
||||
sizes: 192x192
|
||||
type: image/png
|
||||
purpose: maskable
|
||||
shortcuts:
|
||||
- name: Evenements
|
||||
@@ -36,32 +32,24 @@ pwa:
|
||||
description: Voir tous les evenements
|
||||
icons:
|
||||
- src: '%kernel.project_dir%/public/favicon.png'
|
||||
sizes: 96x96
|
||||
type: image/png
|
||||
- name: Organisateurs
|
||||
short_name: Orgas
|
||||
url: /organisateurs
|
||||
description: Decouvrir les organisateurs
|
||||
icons:
|
||||
- src: '%kernel.project_dir%/public/favicon.png'
|
||||
sizes: 96x96
|
||||
type: image/png
|
||||
- name: Mon compte
|
||||
short_name: Compte
|
||||
url: /mon-compte
|
||||
description: Acceder a mon espace
|
||||
icons:
|
||||
- src: '%kernel.project_dir%/public/favicon.png'
|
||||
sizes: 96x96
|
||||
type: image/png
|
||||
- name: Contact
|
||||
short_name: Contact
|
||||
url: /contact
|
||||
description: Nous contacter
|
||||
icons:
|
||||
- src: '%kernel.project_dir%/public/favicon.png'
|
||||
sizes: 96x96
|
||||
type: image/png
|
||||
serviceworker:
|
||||
enabled: true
|
||||
src: '%kernel.project_dir%/public/sw.js'
|
||||
|
||||
Reference in New Issue
Block a user