Skip to content

Commit ab128b6

Browse files
committed
fix(apigw): optimize custom domain output
1 parent f03da81 commit ab128b6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/modules/apigw/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,9 @@ class Apigw {
503503
created: true,
504504
subDomain: domainItem.domain,
505505
cname: subDomain,
506+
url: `${domainProtocol.indexOf('https') !== -1 ? 'https' : 'http'}://${
507+
domainItem.domain
508+
}`,
506509
});
507510
console.log(`Custom domain for service ${serviceId} created successfullly.`);
508511
console.log(`Please add CNAME record ${subDomain} for ${domainItem.domain}.`);

0 commit comments

Comments
 (0)