serverless-multi-regional-plugin
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -130,4 +130,8 @@ const path = require('path'); | ||
const regionalDomainName = this.serverless.service.custom.dns.regionalDomainName; | ||
const originPath = this.serverless.service.custom.cdn.originPath; | ||
distributionConfig.Origins[0].DomainName = regionalDomainName; | ||
if (originPath) { | ||
distributionConfig.Origins[0].OriginPath = `/${originPath}`; | ||
} | ||
} | ||
@@ -134,0 +138,0 @@ |
{ | ||
"name": "serverless-multi-regional-plugin", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Deploy an API Gateway service in multiple regions with a global CloudFront distribution", | ||
@@ -5,0 +5,0 @@ "author": "John Gilbert <john.gilbert@danteinc.com> (danteinc.com)", |
@@ -29,3 +29,3 @@ # serverless-multi-regional-plugin | ||
us-east-1: | ||
acmCertificateArn: arn:aws:acm:us-east-1:870671212434:certificate/55555555-5555-5555-5555-5555555555555555 | ||
acmCertificateArn: arn:aws:acm:us-east-1:111111111111:certificate/55555555-5555-5555-5555-5555555555555555 | ||
# healthCheckId: 44444444-4444-4444-4444-444444444444 | ||
@@ -32,0 +32,0 @@ us-west-2: |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
230791
177