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 {
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 => {