File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -397,7 +397,8 @@ export class Domain {
397397 : path . join ( this . inputs . baseDir || process . cwd ( ) , syncFolderName ) ;
398398 const logger = GLogger . getLogger ( ) ;
399399 logger . debug ( `sync base dir: ${ baseDir } ` ) ;
400- const domainNameResourceId = this . getDomainName ( ) . replace ( / \. / g, '_' ) ;
400+ const domainName = await this . getDomainName ( ) ;
401+ const domainNameResourceId = domainName . replace ( / \. / g, '_' ) ;
401402 const ymlPath = path
402403 . join ( baseDir , `${ this . region } _${ domainNameResourceId } .yaml` )
403404 . replace ( '$' , '_' ) ;
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ enum Region {
2020 'us-east-1' = 'us-east-1' ,
2121 'us-west-1' = 'us-west-1' ,
2222 'ap-south-1' = 'ap-south-1' ,
23+ 'cn-heyuan-acdr-1' = 'cn-heyuan-acdr-1' ,
24+ 'cn-wulanchabu' = 'cn-wulanchabu' ,
2325}
2426
2527export type IRegion = `${Region } `;
You can’t perform that action at this time.
0 commit comments