load html pages from service worker

This commit is contained in:
Dmitry Vasilev
2022-11-28 23:12:55 +08:00
parent 59674fac79
commit 840c2eb6d9
5 changed files with 43 additions and 32 deletions

View File

@@ -382,19 +382,6 @@
if(new URLSearchParams(window.location.search).get('leporello') == null) {
await import('./src/launch.js');
// TODO remove?
/*
const {init} = await import('./src/index.js');
(
document.readyState == 'complete'
? Promise.resolve()
: new Promise(resolve =>
window.addEventListener('load', resolve)
)
).then(() => {
init(document.getElementById('app'))
})
*/
}
</script>
</head>