Skip to content

Commit

Permalink
Merge branch 'staging' into stage-to-development
Browse files Browse the repository at this point in the history
  • Loading branch information
aman19K committed Feb 12, 2024
2 parents 3940e6e + adb579d commit 3159d4d
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 3159d4d

Please sign in to comment.