mirror of
https://github.com/hanzo-apps/hanzo.ai.git
synced 2026-10-30 14:58:08 +00:00
app/apps/page.tsx declared robots in its metadata, which robots.spec refuses: lib/publish decides what is withheld and scripts/noindex.mjs writes the one tag. /apps is listed in EMPTY (a door to sign in, nothing for a crawler), so the export still carries noindex for it.
21 lines
628 B
TypeScript
21 lines
628 B
TypeScript
import type { Metadata } from 'next'
|
|
import { BOOT } from '@hanzo/app/lib/session'
|
|
import { Door } from './_door'
|
|
|
|
// The apps in beta that draw inside the app: CRM, Commerce, CMS, Analytics and
|
|
// Insights, at /apps/<id> (@hanzo/app lib/hosted). Nothing here is for a crawler:
|
|
// a stranger is sent to sign in and brought back (./_door). lib/publish withholds
|
|
// it from the index (`EMPTY`); no page writes its own robots tag.
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Hanzo apps',
|
|
}
|
|
|
|
export default function AppsPage() {
|
|
return (
|
|
<Door>
|
|
<script dangerouslySetInnerHTML={{ __html: BOOT }} />
|
|
</Door>
|
|
)
|
|
}
|