chore(presets): update ClaudeCN referral link to claudecn.ai/register

Move the ClaudeCN invite link to https://claudecn.ai/register?aff=HEL9
across all 7 app presets (apiKeyUrl) and the four README sponsor rows
(banner + CTA, which previously pointed at the bare .top domain with no
referral tag). The websiteUrl and claudecn.top API endpoints are kept
unchanged, so only the registration/referral link moves to the new
domain and code.
This commit is contained in:
Jason
2026-07-21 18:39:39 +08:00
parent 72efd64a3d
commit 3537076af2
11 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -848,7 +848,7 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [
{
name: "ClaudeCN",
websiteUrl: "https://claudecn.top",
apiKeyUrl: "https://claudecn.top/register?aff=ccswitch",
apiKeyUrl: "https://claudecn.ai/register?aff=HEL9",
category: "third_party",
baseUrl: "https://claudecn.top",
mode: "direct",
+1 -1
View File
@@ -918,7 +918,7 @@ export const providerPresets: ProviderPreset[] = [
{
name: "ClaudeCN",
websiteUrl: "https://claudecn.top",
apiKeyUrl: "https://claudecn.top/register?aff=ccswitch",
apiKeyUrl: "https://claudecn.ai/register?aff=HEL9",
settingsConfig: {
env: {
ANTHROPIC_BASE_URL: "https://claudecn.top",
+1 -1
View File
@@ -1304,7 +1304,7 @@ requires_openai_auth = true`,
{
name: "ClaudeCN",
websiteUrl: "https://claudecn.top",
apiKeyUrl: "https://claudecn.top/register?aff=ccswitch",
apiKeyUrl: "https://claudecn.ai/register?aff=HEL9",
category: "third_party",
auth: generateThirdPartyAuth(""),
config: generateThirdPartyConfig(
+1 -1
View File
@@ -354,7 +354,7 @@ export const grokBuildProviderPresets: GrokBuildProviderPreset[] = [
{
name: "ClaudeCN",
websiteUrl: "https://claudecn.top",
apiKeyUrl: "https://claudecn.top/register?aff=ccswitch",
apiKeyUrl: "https://claudecn.ai/register?aff=HEL9",
auth: grokAuth(),
config: grokPresetConfig("ClaudeCN", "https://claudecn.top/v1"),
category: "third_party",
+1 -1
View File
@@ -1137,7 +1137,7 @@ export const hermesProviderPresets: HermesProviderPreset[] = [
{
name: "ClaudeCN",
websiteUrl: "https://claudecn.top",
apiKeyUrl: "https://claudecn.top/register?aff=ccswitch",
apiKeyUrl: "https://claudecn.ai/register?aff=HEL9",
settingsConfig: {
name: "claudecn",
base_url: "https://claudecn.top",
+1 -1
View File
@@ -1362,7 +1362,7 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
{
name: "ClaudeCN",
websiteUrl: "https://claudecn.top",
apiKeyUrl: "https://claudecn.top/register?aff=ccswitch",
apiKeyUrl: "https://claudecn.ai/register?aff=HEL9",
settingsConfig: {
baseUrl: "https://claudecn.top",
apiKey: "",
+1 -1
View File
@@ -1804,7 +1804,7 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
{
name: "ClaudeCN",
websiteUrl: "https://claudecn.top",
apiKeyUrl: "https://claudecn.top/register?aff=ccswitch",
apiKeyUrl: "https://claudecn.ai/register?aff=HEL9",
settingsConfig: {
npm: "@ai-sdk/anthropic",
name: "ClaudeCN",