forked from newthuhole/hole_thu_frontend
CDN test
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user