feat: Optimize code
This commit is contained in:
parent
b175132854
commit
df3313971d
|
@ -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]",
|
|
||||||
targetUrl,
|
|
||||||
{
|
|
||||||
status: fetchResult.status,
|
status: fetchResult.status,
|
||||||
statusText: fetchResult.statusText,
|
statusText: fetchResult.statusText,
|
||||||
},
|
});
|
||||||
fetchResult,
|
|
||||||
);
|
|
||||||
|
|
||||||
return fetchResult;
|
return fetchResult;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue