Skip to content
This repository has been archived by the owner on May 19, 2021. It is now read-only.

Commit

Permalink
enable service worker again
Browse files Browse the repository at this point in the history
  • Loading branch information
bwindels committed Oct 12, 2019
1 parent 131a2db commit 3c57ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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">`);
Expand Down

0 comments on commit 3c57ebf

Please sign in to comment.