mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Update react-hello-world.jsx
This commit is contained in:
@@ -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);
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user