Enable ServiceWorker (#5075)

This commit is contained in:
MeiMei 2019-06-21 11:50:38 +09:00 committed by syuilo
parent cac7cb519e
commit 0d8a90ddeb

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