diff options
author | 2022-10-13 02:18:50 -0700 | |
---|---|---|
committer | 2022-10-13 02:18:50 -0700 | |
commit | 32e16bda23976cfb4efc06ce779fcf99604b1b3f (patch) | |
tree | f7f05115e840283f2464e8c0fb30d2e4955cd2de /bench/react-hello-world/react-hello-world.jsx | |
parent | e32ada318a6b088d5488b96d643cb2ac04b04ba3 (diff) | |
download | bun-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.jsx | 2 |
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); }, }); |