diff --git a/server/app.js b/server/app.js index cff01dcff..e67be863e 100644 --- a/server/app.js +++ b/server/app.js @@ -283,11 +283,13 @@ export default async function createApp(vite) { const safeProps = JSON.stringify(props).replace(/<(?=\/?script)/ig, '\\u003c'); html = html.replace( '', - `\n` - + `\n` - + ogMetaTags + ()=>{ + return `\n` + + `\n${ + ogMetaTags}`; + } ); return html;