mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
enable service worker again
This commit is contained in:
parent
131a2db87d
commit
3c57ebf8a0
@ -44,7 +44,7 @@ async function buildHtml() {
|
||||
`<script type="text/javascript">main(document.body);</script>`);
|
||||
removeOrEnableScript(doc("script#phone-debug-pre"), debug);
|
||||
removeOrEnableScript(doc("script#phone-debug-post"), debug);
|
||||
removeOrEnableScript(doc("script#service-worker"), false);
|
||||
removeOrEnableScript(doc("script#service-worker"), offline);
|
||||
if (offline) {
|
||||
doc("html").attr("manifest", "manifest.appcache");
|
||||
doc("head").append(`<link rel="manifest" href="manifest.json">`);
|
||||
|
Loading…
Reference in New Issue
Block a user