delete console.log
This commit is contained in:
parent
72257edb2c
commit
d0c38f3d94
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue