9e9b8dd494
Previously, when trying to fetch `ngsw.json` (e.g. during `checkForUpdate()`) while either the client or the server were offline, the ServiceWorker would enter a degrade mode, where only existing clients would be served. This essentially meant that the ServiceWorker didn't work offline. This commit fixes it by differentiating offline errors and not entering degraded mode. The ServiceWorker will remain in the current mode until connectivity to the server is restored. Fixes #21636 PR Close #22883 |
||
---|---|---|
.. | ||
src | ||
test | ||
testing | ||
BUILD.bazel | ||
main.ts | ||
rollup-worker.config.js | ||
tsconfig.json |