Last active
December 8, 2019 10:16
-
-
Save kmaraz/82eef036aa2eb0991316ba8d8736fbb9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
workbox.core.setCacheNameDetails({ | |
prefix: 'admin', | |
suffix: 'v1', | |
precache: 'precache', | |
runtime: 'runtime' | |
}); | |
// We force the new service worker to immediately take control of open pages | |
workbox.core.skipWaiting(); | |
workbox.core.clientsClaim(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment