From 3c57ebf8a0b59a16850926af51a9d41603168816 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Sat, 12 Oct 2019 20:23:37 +0200 Subject: [PATCH] enable service worker again --- scripts/build.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.mjs b/scripts/build.mjs index b0085790..bd847e76 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -44,7 +44,7 @@ async function buildHtml() { ``); 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(``);