feat(aihubmix): fix website domain (#11734)

fix domain
This commit is contained in:
chenxue 2025-12-07 21:03:19 +08:00 committed by GitHub
parent ebfc60b039
commit b58a2fce03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -271,9 +271,9 @@ export class WindowService {
'https://account.siliconflow.cn/oauth',
'https://cloud.siliconflow.cn/bills',
'https://cloud.siliconflow.cn/expensebill',
'https://aihubmix.com/token',
'https://aihubmix.com/topup',
'https://aihubmix.com/statistics',
'https://console.aihubmix.com/token',
'https://console.aihubmix.com/topup',
'https://console.aihubmix.com/statistics',
'https://dash.302.ai/sso/login',
'https://dash.302.ai/charge',
'https://www.aiionly.com/login'

View File

@ -62,7 +62,7 @@ export const getCodeToolsApiBaseUrl = (model: Model, type: EndpointType) => {
const CODE_TOOLS_API_ENDPOINTS = {
aihubmix: {
gemini: {
api_base_url: 'https://api.aihubmix.com/gemini'
api_base_url: 'https://aihubmix.com/gemini'
}
},
deepseek: {

View File

@ -201,7 +201,7 @@ export const providerCharge = async (provider: string) => {
height: 700
},
aihubmix: {
url: `https://aihubmix.com/topup?client_id=cherry_studio_oauth&lang=${getLanguageCode()}&aff=SJyh`,
url: `https://console.aihubmix.com/topup?client_id=cherry_studio_oauth&lang=${getLanguageCode()}&aff=SJyh`,
width: 720,
height: 900
},
@ -244,7 +244,7 @@ export const providerBills = async (provider: string) => {
height: 700
},
aihubmix: {
url: `https://aihubmix.com/statistics?client_id=cherry_studio_oauth&lang=${getLanguageCode()}&aff=SJyh`,
url: `https://console.aihubmix.com/statistics?client_id=cherry_studio_oauth&lang=${getLanguageCode()}&aff=SJyh`,
width: 900,
height: 700
},