From 32e16bda23976cfb4efc06ce779fcf99604b1b3f Mon Sep 17 00:00:00 2001
From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Date: Thu, 13 Oct 2022 02:18:50 -0700
Subject: Update react-hello-world.jsx
---
bench/react-hello-world/react-hello-world.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'bench/react-hello-world/react-hello-world.jsx')
diff --git a/bench/react-hello-world/react-hello-world.jsx b/bench/react-hello-world/react-hello-world.jsx
index 69dd43e93..9cb1d4165 100644
--- a/bench/react-hello-world/react-hello-world.jsx
+++ b/bench/react-hello-world/react-hello-world.jsx
@@ -24,7 +24,7 @@ const port = Number(process.env.PORT || 3001);
Bun.serve({
port,
async fetch(req) {
- return new Response(await renderToReadableStream());
+ return new Response(await renderToReadableStream(), headers);
},
});
--
cgit v1.2.3