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);
console.log(
"[Any Proxy]",
targetUrl,
{
status: fetchResult.status,
statusText: fetchResult.statusText,
},
fetchResult,
);
console.log("[Any Proxy]", targetUrl, {
status: fetchResult.status,
statusText: fetchResult.statusText,
});
return fetchResult;
}