Skip to content

Commit 0117c0e

Browse files
committed
fix(vue): head processing when streaming
1 parent e8d79d5 commit 0117c0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/fastify-vue/rendering.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ async function * createShellStream (templates, context, body) {
136136
for await (const chunk of body) {
137137
yield await transformHtmlTemplate(
138138
context.useHead,
139-
chunk
139+
chunk.toString()
140140
)
141141
}
142142
yield await transformHtmlTemplate(

0 commit comments

Comments
 (0)