Enable ServiceWorker (#5075)
This commit is contained in:
parent
18184441f1
commit
2b8d0225cc
|
@ -173,10 +173,9 @@ export default class MiOS extends EventEmitter {
|
|||
|
||||
// Init service worker
|
||||
if (this.shouldRegisterSw) {
|
||||
// #4813
|
||||
//this.getMeta().then(data => {
|
||||
// this.registerSw(data.swPublickey);
|
||||
//});
|
||||
this.getMeta().then(data => {
|
||||
this.registerSw(data.swPublickey);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue