diff --git a/src/routes/cors-anywhere/dbg/+server.ts b/src/routes/cors-anywhere/dbg/+server.ts index 29a992e..a14da31 100644 --- a/src/routes/cors-anywhere/dbg/+server.ts +++ b/src/routes/cors-anywhere/dbg/+server.ts @@ -14,6 +14,9 @@ export async function GET({ url }) { headers: Object.fromEntries(ret.headers.entries()), body: data, url: ret.url, - original: url.searchParams.get('url') + original: url.searchParams.get('url'), + code: ret.status, + text: ret.statusText, + type: ret.type }); } \ No newline at end of file