@gradientedge/cdk-utils 8.78.0 → 8.79.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -346,7 +346,7 @@ class SiteWithEcsBackend extends common_1.CommonConstruct {
346
346
  this.siteLogBucket = this.s3Manager.createS3Bucket(`${this.id}-site-logs`, this, this.props.siteLogBucket);
347
347
  }
348
348
  createSiteOrigin() {
349
- this.siteOrigin = new origins.HttpOrigin(this.siteEcsLoadBalancer.loadBalancerDnsName, {
349
+ this.siteOrigin = new origins.HttpOrigin(this.siteInternalDomainName, {
350
350
  httpPort: this.props.siteTask.listenerPort,
351
351
  protocolPolicy: cloudfront.OriginProtocolPolicy.HTTPS_ONLY,
352
352
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils",
3
- "version": "8.78.0",
3
+ "version": "8.79.0",
4
4
  "description": "Utilities for AWS CDK provisioning",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -401,7 +401,7 @@ export class SiteWithEcsBackend extends CommonConstruct {
401
401
  }
402
402
 
403
403
  protected createSiteOrigin() {
404
- this.siteOrigin = new origins.HttpOrigin(this.siteEcsLoadBalancer.loadBalancerDnsName, {
404
+ this.siteOrigin = new origins.HttpOrigin(this.siteInternalDomainName, {
405
405
  httpPort: this.props.siteTask.listenerPort,
406
406
  protocolPolicy: cloudfront.OriginProtocolPolicy.HTTPS_ONLY,
407
407
  })