mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-28 08:26:44 -06:00
note about navigate in sw.ts
This commit is contained in:
parent
500c1f3eeb
commit
c455231699
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ globalThis.addEventListener('fetch', (event) => {
|
|||
event.request.headers.get('accept')?.includes('/html') ||
|
||||
event.request.url.endsWith('/')) {
|
||||
isHTMLRequest = true;
|
||||
}
|
||||
} //If offlineContentHTML() is not needed anymore, add navigate.
|
||||
|
||||
if (isHTMLRequest) {
|
||||
event.respondWith(
|
||||
|
|
Loading…
Reference in a new issue