mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: update callback_url to use window location origin in EditModal.vue
This commit is contained in:
parent
08cdfc61ab
commit
b26e9ed443
|
|
@ -161,7 +161,7 @@ const open = async (platform: Platform) => {
|
|||
currentPlatform.config.agent_id = currentPlatform.config.app_key
|
||||
delete currentPlatform.config.app_key
|
||||
}
|
||||
currentPlatform.config.callback_url = `${defaultCallbackUrl}/auth/wecom`
|
||||
currentPlatform.config.callback_url = window.location.origin
|
||||
break
|
||||
case 'dingtalk':
|
||||
if (currentPlatform.config.agent_id) {
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ const open = async (platform: Platform) => {
|
|||
currentPlatform.config.agent_id = currentPlatform.config.app_key
|
||||
delete currentPlatform.config.app_key
|
||||
}
|
||||
currentPlatform.config.callback_url = `${defaultCallbackUrl}/api/wecom`
|
||||
currentPlatform.config.callback_url = window.location.origin
|
||||
break
|
||||
case 'dingtalk':
|
||||
if (currentPlatform.config.agent_id) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue