Skip to content

Commit 2f0317c

Browse files
committed
πŸ› FIX: Docs prod SEO
1 parent db9f0d5 commit 2f0317c

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

β€Žapps/baseai.dev/src/app/layout.tsx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ import { Inter } from 'next/font/google';
44
const inter = Inter({ subsets: ['latin'] });
55

66
export async function generateMetadata() {
7-
8-
const isProd = process.env.CF_PAGES_URL! === 'https://baseai.dev' ? true : false;
9-
107
return {
118
title: {
129
template: 'BaseAI - The first Web AI Framework',
@@ -28,11 +25,11 @@ export async function generateMetadata() {
2825
},
2926
authors: [{ name: 'Langbase, Inc.' }],
3027
robots: {
31-
index: isProd ? true : false,
32-
follow: isProd ? true : false,
28+
index: true,
29+
follow: true,
3330
googleBot: {
34-
index: isProd ? true : false,
35-
follow: isProd ? true : false,
31+
index: true,
32+
follow: true,
3633
}
3734
},
3835
keywords: 'BaseAI, Web AI framework',

0 commit comments

Comments
Β (0)