Browse Source

CDN test

dev
thuhole 5 years ago
parent
commit
900cce4b16
  1. 4
      src/registerServiceWorker.js

4
src/registerServiceWorker.js

@ -54,9 +54,7 @@ export default function register() {
function registerValidSW(swUrl) {
navigator.serviceWorker
.register(swUrl, {
scope: '/static/'
})
.register(swUrl)
.then(registration => {
registration.onupdatefound = () => {
const installingWorker = registration.installing;

Loading…
Cancel
Save