Skip to content

Commit 845aff9

Browse files
committed
Update service-worker.js
1 parent d515671 commit 845aff9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

service-worker.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,14 @@ const FILES_TO_CACHE = [
5454
];
5555

5656

57+
// import service worker/client channel script
58+
self.importScripts('/worker/client-channel.js');
59+
60+
5761
// add install and activate event listeners
5862

5963
self.addEventListener('install', (evt) => {
60-
61-
self.importScripts('/worker/client-channel.js')
62-
64+
6365
self.skipWaiting();
6466

6567
});

0 commit comments

Comments
 (0)