ai generated solutions to our ai generated problems

This commit is contained in:
2026-06-15 09:09:54 +01:00
parent 3eaf57912a
commit 9ad5cc0639
2 changed files with 2 additions and 38 deletions
+1
View File
@@ -1883,6 +1883,7 @@ function htmlWithSeo(req, data) {
const canonicalUrl = `${origin}${seo.path}`
return data.toString('utf8')
.replace(/\s+integrity=(["'])sha(?:256|384|512)-[^"']+\1/g, '')
.replaceAll('__PUBLIC_ORIGIN__', origin)
.replaceAll('__SEO_TITLE__', escapeHtml(seo.title))
.replaceAll('__SEO_DESCRIPTION__', escapeHtml(seo.description))