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:
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 New Issue
Block a user