mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-30 02:14:43 +08:00
fix: correct X-Code API URL from www.x-code.cn to x-code.cc
This commit is contained in:
@@ -317,15 +317,15 @@ requires_openai_auth = true`,
|
||||
},
|
||||
{
|
||||
name: "X-Code API",
|
||||
websiteUrl: "https://www.x-code.cn",
|
||||
apiKeyUrl: "https://www.x-code.cn",
|
||||
websiteUrl: "https://x-code.cc",
|
||||
apiKeyUrl: "https://x-code.cc",
|
||||
auth: generateThirdPartyAuth(""),
|
||||
config: generateThirdPartyConfig(
|
||||
"x-code",
|
||||
"https://www.x-code.cn/v1",
|
||||
"https://x-code.cc/v1",
|
||||
"gpt-5.4",
|
||||
),
|
||||
endpointCandidates: ["https://www.x-code.cn/v1"],
|
||||
endpointCandidates: ["https://x-code.cc/v1"],
|
||||
category: "third_party",
|
||||
isPartner: true, // 合作伙伴
|
||||
partnerPromotionKey: "x-code", // 促销信息 i18n key
|
||||
|
||||
Reference in New Issue
Block a user