Tonight
This commit is contained in:
parent
28323f145e
commit
94f9c0d594
76 changed files with 3238 additions and 1230 deletions
|
|
@ -408,7 +408,7 @@ async function prerender() {
|
|||
|
||||
const updated = updateHead(baseIndexHtml, route).replace(
|
||||
'<div id="root"></div>',
|
||||
`<div id="root">${html}</div>`
|
||||
`<div id="root" data-prerender-path="${escapeAttr(route.path)}">${html}</div>`
|
||||
);
|
||||
|
||||
if (updated === baseIndexHtml) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue