feat: update AIHubMix OAuth and release workflow configuration
This commit is contained in:
@@ -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'
|
||||
]
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user