mirror of
https://github.com/MisskeyIO/misskey
synced 2024-12-04 17:58:39 +09:00
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
|
// 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 New Issue
Block a user