mirror of
https://github.com/certd/certd.git
synced 2026-05-16 05:07:32 +08:00
perf: 腾讯云插件支持国际版
This commit is contained in:
@@ -89,7 +89,8 @@ export class DeployCertToTencentEO extends AbstractTaskPlugin {
|
||||
getClient(accessProvider: TencentAccess) {
|
||||
const TeoClient = this.Client;
|
||||
|
||||
const endpoint = accessProvider.isIntl()?"teo.intl.tencentcloudapi.com": "teo.tencentcloudapi.com";
|
||||
//teo.intl.tencentcloudapi.com
|
||||
const endpoint = `teo.${accessProvider.intlDomain()}tencentcloudapi.com`;
|
||||
const clientConfig = {
|
||||
credential: {
|
||||
secretId: accessProvider.secretId,
|
||||
|
||||
Reference in New Issue
Block a user