mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-10-26 01:34:51 +08:00
The proxy URL written into client configs (including Claude Desktop's gateway URL) was always derived from the listen address, with 0.0.0.0 written as 127.0.0.1, so clients outside the host's loopback, such as Claude Desktop sessions in WSL2 NAT mode, got an unreachable address. Add an optional per-device "connection address" in Settings > Routing, stored in ~/.cc-switch/settings.json so cloud sync never carries it to another machine. When set it replaces the host in every proxy URL written to clients; saving rewrites routed clients without restarting the service and is safe to retry. Fixes #7877
CC Switch User Manual / 用户手册 / ユーザーマニュアル
Claude Code / Claude Desktop / Codex / Gemini CLI / OpenCode / OpenClaw / Hermes
Language / 语言 / 言語
| Language | Link |
|---|---|
| 中文 | 简体中文用户手册 |
| English | English User Manual |
| 日本語 | 日本語ユーザーマニュアル |
Version / 版本 / バージョン
- Documentation version: v3.16.0
- Last updated: 2026-05-29
- Compatible with CC Switch v3.16.0+