diff --git a/packages/wrangler/templates/middleware/middleware-ensure-req-body-drained.ts b/packages/wrangler/templates/middleware/middleware-ensure-req-body-drained.ts index c6b4e7362e85..dfc8fd1e0ef4 100644 --- a/packages/wrangler/templates/middleware/middleware-ensure-req-body-drained.ts +++ b/packages/wrangler/templates/middleware/middleware-ensure-req-body-drained.ts @@ -16,3 +16,4 @@ const drainBody: Middleware = async (request, env, _ctx, middlewareCtx) => { }; export default drainBody; +export const wrap = undefined;