File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ function fetchServer(request: Request) {
2929 // The app routes.
3030 routes : routes ( ) ,
3131 // Encode the match with the React Server implementation.
32- generateResponse ( match ) {
33- return new Response ( renderToReadableStream ( match . payload ) , {
32+ generateResponse ( match , options ) {
33+ return new Response ( renderToReadableStream ( match . payload , options ) , {
3434 status : match . statusCode ,
3535 headers : match . headers ,
3636 } ) ;
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ function fetchServer(request: Request) {
2323 // The app routes.
2424 routes : routes ( ) ,
2525 // Encode the match with the React Server implementation.
26- generateResponse ( match ) {
27- return new Response ( renderToReadableStream ( match . payload ) , {
26+ generateResponse ( match , options ) {
27+ return new Response ( renderToReadableStream ( match . payload , options ) , {
2828 status : match . statusCode ,
2929 headers : match . headers ,
3030 } ) ;
You can’t perform that action at this time.
0 commit comments