Skip to content
This repository was archived by the owner on Sep 10, 2022. It is now read-only.

Commit 586a066

Browse files
author
Matthew Gaunt
committed
Merge pull request #17 from addyosmani/partials
Adding partials to oninstall urls
2 parents 3826be4 + 36e0c86 commit 586a066

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/sw.es6.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ self.oninstall = function(event) {
3434
'/styles/core.css',
3535

3636
'/favicon.ico',
37-
'/manifest.json'
37+
'/manifest.json',
38+
39+
'/partials/',
40+
'/partials/url-1',
41+
'/partials/url-2',
42+
'/partials/index'
3843
];
3944

4045
urls = urls.map(function(url) {

0 commit comments

Comments
 (0)