Update sw.ts
This commit is contained in:
parent
335c6a8ed0
commit
8e9757c499
|
@ -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 => {
|
||||||
|
|
Loading…
Reference in a new issue