diff --git a/packages/sw/src/sw.ts b/packages/sw/src/sw.ts index 6131b65ee..14b1faea1 100644 --- a/packages/sw/src/sw.ts +++ b/packages/sw/src/sw.ts @@ -28,7 +28,7 @@ globalThis.addEventListener("activate", (ev) => { }); function offlineContentHTML(): string { - return `Offline. Service Worker @${_VERSION_} `; + return `TrashPoss @${_VERSION_} is currently offline. Retrying in 5 seconds... `; } globalThis.addEventListener("fetch", (ev) => { @@ -48,6 +48,7 @@ globalThis.addEventListener("fetch", (ev) => { status: 200, headers: { "content-type": "text/html", + "Refresh": "5", }, }); }),