fix pwa
This commit is contained in:
parent
268fba6c97
commit
9a8f8a99ac
@ -1,6 +1,19 @@
|
|||||||
{
|
{
|
||||||
"$schema": "./node_modules/@angular/service-worker/config/schema.json",
|
"$schema": "./node_modules/@angular/service-worker/config/schema.json",
|
||||||
"index": "/index.html",
|
"index": "/index.html",
|
||||||
|
"dataGroups": [
|
||||||
|
{
|
||||||
|
"name": "api",
|
||||||
|
"urls": [
|
||||||
|
"/api"
|
||||||
|
],
|
||||||
|
"cacheConfig": {
|
||||||
|
"maxSize": 0,
|
||||||
|
"maxAge": "0u",
|
||||||
|
"strategy": "freshness"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"assetGroups": [
|
"assetGroups": [
|
||||||
{
|
{
|
||||||
"name": "app",
|
"name": "app",
|
||||||
@ -27,4 +40,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user