chore: anonymize deployment URL in docs and UI
Replace hardcoded memory.dnspegasus.net references throughout README with the generic memory.example.com placeholder (matches .env.example). In tokens-manager.tsx, the claude-mcp-add snippet shown to users now derives the host from PUBLIC_URL via a server-side prop instead of a hardcoded literal, so any deployer sees their own URL in the snippet. Prepares the repo for public mirroring. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { revalidatePath } from "next/cache";
|
||||
import { and, asc, desc, eq, isNull } from "drizzle-orm";
|
||||
import { auth } from "@/auth";
|
||||
import { env } from "@/lib/env";
|
||||
import { db } from "@/lib/db/client";
|
||||
import { cliTokens, projects, users } from "@/lib/db/schema";
|
||||
import {
|
||||
@@ -156,6 +157,7 @@ export default async function TokensPage() {
|
||||
key: p.key,
|
||||
displayName: p.displayName,
|
||||
}))}
|
||||
publicUrl={env().PUBLIC_URL}
|
||||
/>
|
||||
</CardBody>
|
||||
</Card>
|
||||
|
||||
Reference in New Issue
Block a user