1
0
forked from mirror/misskey
This commit is contained in:
syuilo 2021-02-07 10:46:26 +09:00
parent 0a64d121d9
commit a1b9bbb726

View File

@ -53,6 +53,7 @@ self.addEventListener('activate', ev => {
}); });
//#endregion //#endregion
// TODO: 消せるかも ref. https://github.com/syuilo/misskey/pull/7108#issuecomment-774573666
//#region When: Fetching //#region When: Fetching
self.addEventListener('fetch', ev => { self.addEventListener('fetch', ev => {
if (ev.request.method !== 'GET' || ev.request.url.startsWith(apiUrl)) return; if (ev.request.method !== 'GET' || ev.request.url.startsWith(apiUrl)) return;