Skip to content

Commit 346cb7e

Browse files
Log response code.
1 parent ab37a98 commit 346cb7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cloudflare-workers/gumroad-products/worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ export default {
2626

2727
// Fetch the Gumroad page
2828
const upstreamResp = await fetch(gumroadUrl);
29-
return new Response("done", { status: 200 });
3029

3130
// Get raw HTML
3231
const html = await upstreamResp.text();
32+
return new Response(`done ${upstreamResp.status}`, { status: 200 });
3333

3434
// Build response with CORS headers
3535
const responseHeaders = new Headers(upstreamResp.headers);

0 commit comments

Comments
 (0)