```
✨ chore(crm): Supprime les fichiers manifest et favicon obsolètes, ajoute PWA.
```
This commit is contained in:
47
config/packages/pwa.yaml
Normal file
47
config/packages/pwa.yaml
Normal file
@@ -0,0 +1,47 @@
|
||||
pwa:
|
||||
image_processor: 'pwa.image_processor.gd'
|
||||
favicons:
|
||||
enabled: true
|
||||
src: '%kernel.project_dir%/public/provider/images/favicon.png'
|
||||
|
||||
serviceworker:
|
||||
enabled: true
|
||||
workbox:
|
||||
cache_manifest: true
|
||||
resource_caches:
|
||||
- match_callback: 'startsWith: /provider/'
|
||||
cache_name: 'static-pages'
|
||||
strategy: 'CacheFirst'
|
||||
|
||||
image_cache:
|
||||
enabled: true
|
||||
max_age: 3600
|
||||
max_entries: 200
|
||||
regex: '/\.(png|jpe?g|svg|webp)$/'
|
||||
font_cache:
|
||||
enabled: true
|
||||
max_entries: 10
|
||||
max_age: 3600
|
||||
google_fonts:
|
||||
enabled: true
|
||||
cache_prefix: 'goolge-fonts'
|
||||
max_entries: 20
|
||||
max_age: 3600
|
||||
manifest:
|
||||
enabled: true
|
||||
name: "Intranet Lukikevent"
|
||||
short_name: "Intranet"
|
||||
start_url: "app_home"
|
||||
display: "standalone"
|
||||
background_color: "#ffffff"
|
||||
theme_color: "#f4c842"
|
||||
scope: "/"
|
||||
id: "/"
|
||||
dir: "ltr"
|
||||
lang: "fr"
|
||||
orientation: "portrait"
|
||||
description: "Application Intranet Ludikevent"
|
||||
categories: ['shopping']
|
||||
icons:
|
||||
- src: '%kernel.project_dir%/public/provider/images/favicon.png'
|
||||
sizes: [ 192 ]
|
||||
Reference in New Issue
Block a user