Skip to content

Commit

Permalink
fix: locked stream in ssr
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript committed Apr 7, 2024
1 parent 5d2cbbc commit f657c31
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/server/src/ssr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,7 @@ export default function createRequestHandler(
},
});

stream.pipeThrough(transformStream);

let res = new Response(stream, {
let res = new Response(stream.pipeThrough(transformStream), {
headers: {
'content-type': 'text/html; charset=utf-8',
},
Expand Down

0 comments on commit f657c31

Please sign in to comment.