Skip to content

Commit 133f4c7

Browse files
committed
remove: noarchive in html seo rewriting
1 parent 3954159 commit 133f4c7

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/lib/utils/rewrites.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ function rewriteSeoTags($: cheerio.CheerioAPI, options: SeoTagOptions): void {
6363
$('meta[name="robots"]').remove()
6464
$('link[rel="canonical"]').remove()
6565

66-
const robotsContent = isNoIndex
67-
? 'noindex,nofollow,noarchive'
68-
: 'index,follow'
66+
const robotsContent = isNoIndex ? 'noindex,nofollow' : 'index,follow'
6967

7068
const formattedPathname = pathname.startsWith('/') ? pathname : `/${pathname}`
7169
const canonicalUrl = `https://e2b.dev${formattedPathname}`

0 commit comments

Comments
 (0)