mirror of
https://github.com/certd/certd.git
synced 2026-04-23 11:37:23 +08:00
fix: 腾讯云授权支持设置是否国际站,部署到EO插件支持国际站
This commit is contained in:
@@ -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,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user