Skip to content

Commit

Permalink
Clone request
Browse files Browse the repository at this point in the history
  • Loading branch information
prasmussen committed Jul 21, 2024
1 parent 9787d6e commit 78f7eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glot_cloudflare/functions/api/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const onRequestPost: PagesFunction<Env & StringRecord> = async (context)

const id = context.env.RATE_LIMITER.idFromName(ip);
const stub = context.env.RATE_LIMITER.get(id);
const response = await stub.fetch(context.request);
const response = await stub.fetch(context.request.clone());
const stats = await response.text();

console.log(stats)
Expand Down

0 comments on commit 78f7eb9

Please sign in to comment.