From 0d8a90ddeb0ab39790f399cfab838528d4fadf84 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Fri, 21 Jun 2019 11:50:38 +0900 Subject: [PATCH] Enable ServiceWorker (#5075) --- src/client/app/mios.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/client/app/mios.ts b/src/client/app/mios.ts index ae1446b93..a73ef45c3 100644 --- a/src/client/app/mios.ts +++ b/src/client/app/mios.ts @@ -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); + }); } };