This commit is contained in:
Andras Schmelczer 2026-05-06 22:40:46 +01:00
parent 28323f145e
commit 94f9c0d594
76 changed files with 3238 additions and 1230 deletions

View file

@ -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) {