Fix ESLint errors
This commit is contained in:
parent
50f00ac4f3
commit
6ac4a31ed7
|
@ -6,7 +6,8 @@ const corsHeaders = {
|
||||||
|
|
||||||
async function handleRequest(request, destinationUrl, iteration = 0) {
|
async function handleRequest(request, destinationUrl, iteration = 0) {
|
||||||
console.log(
|
console.log(
|
||||||
`PROXYING ${destinationUrl}${iteration ? ' ON ITERATION ' + iteration : ''
|
`PROXYING ${destinationUrl}${
|
||||||
|
iteration ? ' ON ITERATION ' + iteration : ''
|
||||||
}`,
|
}`,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -122,8 +123,7 @@ addEventListener('fetch', (event) => {
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
}
|
} else if (
|
||||||
else if (
|
|
||||||
request.method === 'GET' ||
|
request.method === 'GET' ||
|
||||||
request.method === 'HEAD' ||
|
request.method === 'HEAD' ||
|
||||||
request.method === 'POST'
|
request.method === 'POST'
|
||||||
|
|
Loading…
Reference in New Issue