Enable ServiceWorker (#5075)

This commit is contained in:
MeiMei 2019-06-21 11:50:38 +09:00 committed by syuilo
parent 18184441f1
commit 2b8d0225cc

View file

@ -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);
});
}
};