Skip to content

Commit

Permalink
Merge pull request #1296 from contentstack/stage-to-development
Browse files Browse the repository at this point in the history
Stage to development
  • Loading branch information
aman19K authored Feb 12, 2024
2 parents 3940e6e + 3159d4d commit dd7ec39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/contentstack-bootstrap/src/bootstrap/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const envFileHandler = async (
let appHost: string;
const managementAPIHost = region?.cma?.substring('8');
const regionName = region && region.name && region.name.toLowerCase();
previewHost = region?.cda?.substring(8)?.replace('cdn', 'rest-preview');
previewHost = region?.uiHost?.substring(8)?.replace('app', 'rest-preview');
appHost = region?.uiHost?.substring(8);
const isUSRegion = regionName === 'us' || regionName === 'na';
if (regionName !== 'eu' && !isUSRegion) {
Expand Down

0 comments on commit dd7ec39

Please sign in to comment.