diff --git a/src/app/[spaceId]/[[...pathname]]/page.tsx b/src/app/[spaceId]/[[...pathname]]/page.tsx index 52bac0bc5..e94528991 100644 --- a/src/app/[spaceId]/[[...pathname]]/page.tsx +++ b/src/app/[spaceId]/[[...pathname]]/page.tsx @@ -73,6 +73,7 @@ export async function generateMetadata({ params }: { params: PagePathParams }): openGraph: { images: [customization.socialPreview.url ?? `.gitbook/ogimage/${page.id}`], }, - robots: space.visibility === 'public' ? 'index, follow' : 'noindex, nofollow', + // TODO: remove once the development is finished + robots: space.visibility === 'public' && 0 ? 'index, follow' : 'noindex, nofollow', }; }