Skip to content

Commit a4c6258

Browse files
briznadmhartington
authored andcommitted
docs(): update firebase config with default service worker filename (#500)
The example Firebase config shows **sw.js** as the name of the service worker for which a cache policy should be set. However, the default filename used by @angular/pwa is **ngsw-worker.js**. This change reflects the default filename.
1 parent e19a652 commit a4c6258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/publishing/progressive-web-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ The last thing needed is to make sure caching headers are being set correctly. T
6767
]
6868
},
6969
{
70-
"source": "sw.js",
70+
"source": "ngsw-worker.js",
7171
"headers": [
7272
{
7373
"key": "Cache-Control",

0 commit comments

Comments
 (0)