Files
claude-code-router/docs
Mert Kaya ec0cb4fecc fix(docker): stop handing the management token to unauthenticated clients
Nginx redirected GET / (and a token-less index page) to a URL carrying
CCR_WEB_AUTH_TOKEN, so anyone who could reach the published port got the
token from the Location header. The root now redirects to the page and
only passes on a ccr_web_token the caller already supplied. A generated
token is printed once to the container log, as Jupyter does.
2026-10-09 13:51:13 +03:00
..
2026-08-06 14:10:32 +08:00
2026-08-06 14:10:32 +08:00
2026-08-06 14:10:32 +08:00

Claude Code Router Docs

Astro-powered documentation site for Claude Code Router.

Commands

npm install
npm run dev
npm run build
npm run preview

The local development server runs from this docs directory.

GitHub Pages

Docs are deployed from .github/workflows/docs.yml on pushes to main that change docs/** or the workflow itself. The default public URL is:

https://ccrdesk.top/

The Astro build reads ASTRO_SITE and ASTRO_BASE, defaulting to https://ccrdesk.top and /.

Content

Docs pages are authored in Markdown:

  • Chinese: src/content/docs/zh/index.md
  • English: src/content/docs/en/index.md

Frontmatter provides the page title, eyebrow, and lead text. Markdown headings generate the right-side table of contents, and fenced code blocks are compiled with Shiki highlighting.