Skip to content

Commit

Permalink
feat: Optimize code
Browse files Browse the repository at this point in the history
  • Loading branch information
butterfly committed Apr 9, 2024
1 parent b175132 commit df33139
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions app/api/webdav/[...path]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit df33139

Please sign in to comment.