delete console.log

This commit is contained in:
nonameShijian 2024-02-05 18:20:56 +08:00
parent 72257edb2c
commit d0c38f3d94
1 changed files with 0 additions and 2 deletions

View File

@ -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;
}