Enable ServiceWorker (#5075)
This commit is contained in:
parent
18184441f1
commit
2b8d0225cc
1 changed files with 3 additions and 4 deletions
|
@ -173,10 +173,9 @@ export default class MiOS extends EventEmitter {
|
||||||
|
|
||||||
// Init service worker
|
// Init service worker
|
||||||
if (this.shouldRegisterSw) {
|
if (this.shouldRegisterSw) {
|
||||||
// #4813
|
this.getMeta().then(data => {
|
||||||
//this.getMeta().then(data => {
|
this.registerSw(data.swPublickey);
|
||||||
// this.registerSw(data.swPublickey);
|
});
|
||||||
//});
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue