Skip to content

Commit 21751a9

Browse files
committed
support returning prerender data
1 parent dc67d44 commit 21751a9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

prerender.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ export default async function prerender(vnode, options) {
4646
};
4747

4848
try {
49-
let html = await render();
50-
html += `<script type="isodata"></script>`;
49+
const html = await render();
5150
return { html, links };
5251
} finally {
5352
vnodeHook = null;

0 commit comments

Comments
 (0)