ai generated solutions to our ai generated problems
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user