File tree Expand file tree Collapse file tree
packages/plugin-rsc/examples Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ export async function renderHTML(
4242 let responseStream : ReadableStream < Uint8Array > = htmlStream
4343 if ( ! options ?. debugNojs ) {
4444 // initial RSC stream is injected in HTML stream as <script>...FLIGHT_DATA...</script>
45- // using utility made by devongovett https://github.com/devongovett/rsc-html-stream
4645 responseStream = responseStream . pipeThrough (
4746 injectRSCPayload ( rscStream2 , {
4847 nonce : options ?. nonce ,
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ export async function renderHTML(
4242 let responseStream : ReadableStream < Uint8Array > = htmlStream
4343 if ( ! options ?. debugNojs ) {
4444 // initial RSC stream is injected in HTML stream as <script>...FLIGHT_DATA...</script>
45+ // using utility made by devongovett https://github.com/devongovett/rsc-html-stream
4546 responseStream = responseStream . pipeThrough (
4647 injectRSCPayload ( rscStream2 , {
4748 nonce : options ?. nonce ,
You can’t perform that action at this time.
0 commit comments