@serverless/domain
Advanced tools
Comparing version 4.0.3 to 4.0.4
{ | ||
"name": "@serverless/domain", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"main": "./serverless.js", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
@@ -249,3 +249,3 @@ const { Component } = require('@serverless/core') | ||
this.context.debug(`Removing domain ${domainState.domain} from CloudFront.`) | ||
await removeDomainFromCloudFrontDistribution(clients.cf, subdomain) | ||
await removeDomainFromCloudFrontDistribution(clients.cf, domainState) | ||
@@ -252,0 +252,0 @@ this.context.debug(`Removing CloudFront DNS records for domain ${domainState.domain}`) |
@@ -848,3 +848,6 @@ const aws = require('aws-sdk') | ||
params.DistributionConfig.ViewerCertificate = {} | ||
params.DistributionConfig.ViewerCertificate = { | ||
SSLSupportMethod: 'sni-only', | ||
MinimumProtocolVersion: 'TLSv1.1_2016' | ||
} | ||
@@ -851,0 +854,0 @@ const res = await cf.updateDistribution(params).promise() |
50116
1083