Fix ESLint errors

This commit is contained in:
William Oldham 2022-12-26 21:25:03 +00:00
parent 50f00ac4f3
commit 6ac4a31ed7
1 changed files with 3 additions and 3 deletions

View File

@ -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'