Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/sw.js
diff options
context:
space:
mode:
authorMichael <michael@lyricalz.com>2018-03-16 23:46:58 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-03-21 13:15:47 +0300
commit7dc41e299b62f88961d608515f7252cb05dcd51e (patch)
treed5564dc31f78b103499f96f3c41296d4a9c519a8 /sw.js
parent1615a76f837771b5adaa0ab2eccbae0fb13266fb (diff)
Update to workbox 3.0 & fix breaking changes
Diffstat (limited to 'sw.js')
-rw-r--r--sw.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw.js b/sw.js
index 037a1471b9..e1ab031ab4 100644
--- a/sw.js
+++ b/sw.js
@@ -1,4 +1,4 @@
self.importScripts('/assets/js/vendor/{fileName}')
const workboxSW = new self.WorkboxSW()
-workboxSW.precache([])
+workboxSW.precaching.precacheAndRoute([])