Skip to content

Commit 3bc1756

Browse files
committed
fix: disable streaming for bots (seo)
1 parent eefe130 commit 3bc1756

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

next.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ const nextConfig: NextConfig = {
1414
reactStrictMode: true,
1515
reactCompiler: true,
1616
output: 'standalone',
17+
// https://github.com/vercel/next.js/issues/79313#issuecomment-2892288965
18+
htmlLimitedBots: /Googlebot|Bingbot|DuckDuckBot|YandexBot|Slurp|facebookexternalhit|Twitterbot|LinkedInBot|Slackbot/i,
1719
images: {
1820
// unoptimized: true, // Issue: https://github.com/vercel/next.js/issues/54482
1921
remotePatterns: [

0 commit comments

Comments
 (0)