feat: Optimize code

This commit is contained in:
butterfly 2024-04-09 18:24:22 +08:00
parent b175132854
commit df3313971d
1 changed files with 4 additions and 9 deletions

View File

@ -116,15 +116,10 @@ async function handle(
const fetchResult = await fetch(targetUrl, fetchOptions); const fetchResult = await fetch(targetUrl, fetchOptions);
console.log( console.log("[Any Proxy]", targetUrl, {
"[Any Proxy]", status: fetchResult.status,
targetUrl, statusText: fetchResult.statusText,
{ });
status: fetchResult.status,
statusText: fetchResult.statusText,
},
fetchResult,
);
return fetchResult; return fetchResult;
} }