aboutsummaryrefslogtreecommitdiff
path: root/bench/react-hello-world/react-hello-world.jsx
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-10-13 02:18:50 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-10-13 02:18:50 -0700
commit32e16bda23976cfb4efc06ce779fcf99604b1b3f (patch)
treef7f05115e840283f2464e8c0fb30d2e4955cd2de /bench/react-hello-world/react-hello-world.jsx
parente32ada318a6b088d5488b96d643cb2ac04b04ba3 (diff)
downloadbun-32e16bda23976cfb4efc06ce779fcf99604b1b3f.tar.gz
bun-32e16bda23976cfb4efc06ce779fcf99604b1b3f.tar.zst
bun-32e16bda23976cfb4efc06ce779fcf99604b1b3f.zip
Update react-hello-world.jsx
Diffstat (limited to 'bench/react-hello-world/react-hello-world.jsx')
-rw-r--r--bench/react-hello-world/react-hello-world.jsx2
1 files changed, 1 insertions, 1 deletions
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(<App />));
+ return new Response(await renderToReadableStream(<App />), headers);
},
});