fix(core): update

This commit is contained in:
2019-03-27 14:40:06 +01:00
parent f5f51ac1a6
commit 4a45262124
8 changed files with 48 additions and 34 deletions

View File

@ -2,7 +2,9 @@ export const setupServiceWoker = async () => {
// serviceworker
const script = document.createElement('script');
script.onload = () => {
console.log('Loaded Serviceworker. The serviceworker helps us with notifications and offline capabilities, so you can also read this site when your device is offline.');
console.log(
'Loaded Serviceworker. The serviceworker helps us with notifications and offline capabilities, so you can also read this site when your device is offline.'
);
};
script.src = 'serviceworker/mainthread.js';
document.head.appendChild(script);