Skip to content

Commit

Permalink
webStream?
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis committed Feb 10, 2024
1 parent d9f227a commit 70a7311
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/houdini-react/src/plugin/codegen/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export const on_render =
return new Response('not found', { status: 404 })
}
// this is what hangs
const {
readable,
injectToStream,
Expand All @@ -85,7 +86,7 @@ export const on_render =
...router_cache()
}),
{
webStream: production,
// webStream: production,
userAgent: 'Vite',
}
)
Expand All @@ -106,8 +107,6 @@ export const on_render =
<script type="module" src="\${assetPrefix}/pages/\${match.id}.\${production ? 'js' : 'jsx'}" async=""></script>
\`)
return new Response("here!. " + typeof pipeTo + " " + typeof pipe)
if (pipeTo && pipe) {
pipeTo(pipe)
return true
Expand Down

0 comments on commit 70a7311

Please sign in to comment.