Update react-hello-world.jsx

This commit is contained in:
Jarred Sumner
2022-10-13 02:18:50 -07:00
parent e32ada318a
commit 32e16bda23

View File

@@ -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);
},
});