Enable service worker
This commit is contained in:
@@ -4,7 +4,7 @@ import { EventEmitter } from 'eventemitter3';
|
||||
import * as uuid from 'uuid';
|
||||
|
||||
import initStore from './store';
|
||||
import { apiUrl, clientVersion as version, lang } from './config';
|
||||
import { apiUrl, clientVersion as version } from './config';
|
||||
import Progress from './common/scripts/loading';
|
||||
|
||||
import Err from './common/views/components/connect-failed.vue';
|
||||
@@ -172,7 +172,7 @@ export default class MiOS extends EventEmitter {
|
||||
callback();
|
||||
|
||||
// Init service worker
|
||||
//if (this.shouldRegisterSw) this.registerSw();
|
||||
if (this.shouldRegisterSw) this.registerSw();
|
||||
};
|
||||
|
||||
// キャッシュがあったとき
|
||||
|
Reference in New Issue
Block a user