From d0c38f3d94e137fee8f6d56118771b04f80c926d Mon Sep 17 00:00:00 2001 From: nonameShijian <2954700422@qq.com> Date: Mon, 5 Feb 2024 18:20:56 +0800 Subject: [PATCH] delete console.log --- service-worker.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/service-worker.js b/service-worker.js index 41c8087c5..54cb6ce84 100644 --- a/service-worker.js +++ b/service-worker.js @@ -29,8 +29,6 @@ self.addEventListener('fetch', event => { if (!['.ts', '.json'].some(ext => request.url.endsWith(ext))) return; if (request.url.endsWith('.d.ts')) return; if (request.url.endsWith('.json')) { - // @ts-ignore - console.log(event.request.headers.get('origin')); // @ts-ignore if (!event.request.headers.get('origin')) return; }