mirror of
https://github.com/movie-web/simple-proxy.git
synced 2025-09-13 14:43:26 +00:00
Fix ESLint errors
This commit is contained in:
@@ -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'
|
||||
|
Reference in New Issue
Block a user