mirror of
https://github.com/sussy-code/sudo-proxy.git
synced 2026-01-11 20:10:18 +00:00
Fix ESLint errors
This commit is contained in:
parent
50f00ac4f3
commit
6ac4a31ed7
1 changed files with 3 additions and 3 deletions
|
|
@ -6,7 +6,8 @@ const corsHeaders = {
|
|||
|
||||
async function handleRequest(request, destinationUrl, iteration = 0) {
|
||||
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 === 'HEAD' ||
|
||||
request.method === 'POST'
|
||||
|
|
|
|||
Loading…
Reference in a new issue