Skip to content

Commit ee4edd5

Browse files
fixed region properties while setting up repo
1 parent b1d6a4d commit ee4edd5

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

packages/contentstack-command/src/index.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,18 @@ abstract class ContentstackCommand extends Command {
9393
}
9494
throw new CLIError('No token found');
9595
}
96+
97+
get developerHubUrl() {
98+
return this.region.developerHubUrl;
99+
}
100+
101+
get launchHubUrl() {
102+
return this.region.launchHubUrl;
103+
}
104+
105+
get personalizeUrl() {
106+
return this.region.personalizeUrl;
107+
}
96108
}
97109

98110
module.exports = {

packages/contentstack-command/src/interfaces/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ export interface Region {
33
cma: string;
44
cda: string;
55
uiHost: string;
6+
developerHubUrl: string;
7+
launchHubUrl: string;
8+
personalizeUrl: string;
69
}

0 commit comments

Comments
 (0)