Skip to content

Commit 40f121c

Browse files
committed
prevent indexing of share page
1 parent 6251231 commit 40f121c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/enterprise/src/routes/share/[shareID].tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import { preloadMultiFileDiff, PreloadMultiFileDiffResult } from "@pierre/precis
2323
import { Diff as SSRDiff } from "@opencode-ai/ui/diff-ssr"
2424
import { clientOnly } from "@solidjs/start"
2525
import { type IconName } from "@opencode-ai/ui/icons/provider"
26+
import { Meta } from "@solidjs/meta"
2627

2728
const ClientOnlyDiff = clientOnly(() => import("@opencode-ai/ui/diff").then((m) => ({ default: m.Diff })))
2829

@@ -153,6 +154,7 @@ export default function () {
153154
)
154155
}}
155156
>
157+
<Meta name="robots" content="noindex, nofollow" />
156158
<Show when={data()}>
157159
{(data) => {
158160
const match = createMemo(() => Binary.search(data().session, data().sessionID, (s) => s.id))

0 commit comments

Comments
 (0)