1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-27 14:28:53 +09:00

Update sw.ts

This commit is contained in:
NoriDev 2023-11-24 16:54:14 +09:00
parent 335c6a8ed0
commit 8e9757c499

View File

@ -27,7 +27,7 @@ globalThis.addEventListener('activate', ev => {
}); });
function offlineContentHTML(): string { function offlineContentHTML(): string {
return `<!doctype html>Offline. Service Worker @${_VERSION_} | @${_BASEDMISSKEYVERSION_} <button onclick="location.reload()">reload</button>`; return `<!doctype html>Offline. Service Worker @${_VERSION_}_${_BASEDMISSKEYVERSION_} <button onclick="location.reload()">reload</button>`;
} }
globalThis.addEventListener('fetch', ev => { globalThis.addEventListener('fetch', ev => {