feat: update AIHubMix OAuth and release workflow configuration

This commit is contained in:
kangfenmao
2025-02-12 18:24:57 +08:00
parent fc1c49213b
commit 5229cef35f
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ export class WindowService {
const oauthProviderUrls = [
'https://account.siliconflow.cn/oauth',
'https://cloud.siliconflow.cn/expensebill',
'https://aihubmix.com/oauth',
'https://aihubmix.com/token',
'https://aihubmix.com/topup'
]
+1 -1
View File
@@ -23,7 +23,7 @@ export const oauthWithSiliconFlow = async (setKey) => {
}
export const oauthWithAihubmix = async (setKey) => {
const authUrl = ` https://aihubmix.com/oauth?client_id=cherry_studio_oauth&lang=${getLanguageCode()}&aff=SJyh`
const authUrl = ` https://aihubmix.com/token?client_id=cherry_studio_oauth&lang=${getLanguageCode()}&aff=SJyh`
const popup = window.open(
authUrl,