mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 21:30:17 +08:00
fix: correct X-Code API URL from www.x-code.cn to x-code.cc
This commit is contained in:
@@ -1147,13 +1147,13 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
},
|
||||
{
|
||||
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",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/anthropic",
|
||||
name: "X-Code API",
|
||||
options: {
|
||||
baseURL: "https://www.x-code.cn/v1",
|
||||
baseURL: "https://x-code.cc/v1",
|
||||
apiKey: "",
|
||||
},
|
||||
models: {
|
||||
|
||||
Reference in New Issue
Block a user