fix: 腾讯云授权支持设置是否国际站,部署到EO插件支持国际站

This commit is contained in:
xiaojunnuo
2025-06-20 16:58:20 +08:00
parent 65dcae79f8
commit 5cd3968929
2 changed files with 28 additions and 3 deletions
@@ -89,6 +89,7 @@ export class DeployCertToTencentEO extends AbstractTaskPlugin {
getClient(accessProvider: TencentAccess) {
const TeoClient = this.Client;
const endpoint = accessProvider.isIntl()?"teo.intl.tencentcloudapi.com": "teo.tencentcloudapi.com";
const clientConfig = {
credential: {
secretId: accessProvider.secretId,
@@ -97,7 +98,7 @@ export class DeployCertToTencentEO extends AbstractTaskPlugin {
region: '',
profile: {
httpProfile: {
endpoint: 'teo.tencentcloudapi.com',
endpoint,
},
},
};