diff --git a/glot_cloudflare/functions/api/run.ts b/glot_cloudflare/functions/api/run.ts index 86817b3..6464501 100644 --- a/glot_cloudflare/functions/api/run.ts +++ b/glot_cloudflare/functions/api/run.ts @@ -19,7 +19,7 @@ export const onRequestPost: PagesFunction = 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)