fixed sw initialization error
This commit is contained in:
parent
4a956c0247
commit
2f34dffab4
|
@ -1,5 +1,10 @@
|
|||
/* global Android */
|
||||
const html = require('choo/html');
|
||||
let html;
|
||||
try {
|
||||
html = require('choo/html');
|
||||
} catch (e) {
|
||||
// running in the service worker
|
||||
}
|
||||
const b64 = require('base64-js');
|
||||
|
||||
function arrayToB64(array) {
|
||||
|
|
Loading…
Reference in New Issue