summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-12-11 00:54:15 -0500
committerDax Raad <[email protected]>2025-12-11 00:54:15 -0500
commit40f121c3e8f917bacc144455d63b8da44722a68c (patch)
tree65bf4e72d39a4c1a41b6ebedaab4fc592bc33110
parent6251231e4190db1f0632778a2bf6e1f2cd62dfb6 (diff)
downloadopencode-40f121c3e8f917bacc144455d63b8da44722a68c.tar.gz
opencode-40f121c3e8f917bacc144455d63b8da44722a68c.zip
prevent indexing of share page
-rw-r--r--packages/enterprise/src/routes/share/[shareID].tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/enterprise/src/routes/share/[shareID].tsx b/packages/enterprise/src/routes/share/[shareID].tsx
index 1c593ca87..6c63cf7f3 100644
--- a/packages/enterprise/src/routes/share/[shareID].tsx
+++ b/packages/enterprise/src/routes/share/[shareID].tsx
@@ -23,6 +23,7 @@ import { preloadMultiFileDiff, PreloadMultiFileDiffResult } from "@pierre/precis
import { Diff as SSRDiff } from "@opencode-ai/ui/diff-ssr"
import { clientOnly } from "@solidjs/start"
import { type IconName } from "@opencode-ai/ui/icons/provider"
+import { Meta } from "@solidjs/meta"
const ClientOnlyDiff = clientOnly(() => import("@opencode-ai/ui/diff").then((m) => ({ default: m.Diff })))
@@ -153,6 +154,7 @@ export default function () {
)
}}
>
+ <Meta name="robots" content="noindex, nofollow" />
<Show when={data()}>
{(data) => {
const match = createMemo(() => Binary.search(data().session, data().sessionID, (s) => s.id))