44 lines
856 B
JSON
44 lines
856 B
JSON
{
|
|
"$schema": "./node_modules/@angular/service-worker/config/schema.json",
|
|
"index": "/index.html",
|
|
"dataGroups": [
|
|
{
|
|
"name": "api",
|
|
"urls": [
|
|
"/api"
|
|
],
|
|
"cacheConfig": {
|
|
"maxSize": 0,
|
|
"maxAge": "0u",
|
|
"strategy": "freshness"
|
|
}
|
|
}
|
|
],
|
|
"assetGroups": [
|
|
{
|
|
"name": "app",
|
|
"installMode": "prefetch",
|
|
"updateMode": "lazy",
|
|
"resources": {
|
|
"files": [
|
|
"/favicon.ico",
|
|
"/index.html",
|
|
"/manifest.webmanifest",
|
|
"/*.css",
|
|
"/*.js"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "assets",
|
|
"installMode": "prefetch",
|
|
"updateMode": "lazy",
|
|
"resources": {
|
|
"files": [
|
|
"/assets/**",
|
|
"/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |