Skip to content

Commit

Permalink
🐛 fix(dns prefix): fixed typo which was causing property not to be pa…
Browse files Browse the repository at this point in the history
…ssed correctly
  • Loading branch information
sladg committed Jan 16, 2023
1 parent 08ad30e commit 9549806
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cdk/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const envConfig = {
imageLambdaMemory: RawEnvConfig.IMAGE_LAMBDA_MEMORY,
imageLambdaTimeout: RawEnvConfig.IMAGE_LAMBDA_TIMEOUT,
hostedZone: RawEnvConfig.HOSTED_ZONE,
domainNamePrefix: RawEnvConfig.DNS_PREFIX,
dnsPrefix: RawEnvConfig.DNS_PREFIX,
customApiDomain: RawEnvConfig.CUSTOM_API_DOMAIN,
redirectFromApex: RawEnvConfig.REDIRECT_FROM_APEX,
}
3 changes: 3 additions & 0 deletions lib/cdk/stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ export class NextStandaloneStack extends Stack {
this.domainName = config.dnsPrefix ? `${config.dnsPrefix}.${config.hostedZone}` : config.hostedZone
}

console.log('Hosted zone:', this.hostedZone)
console.log('Normalized domain name:', this.domainName)

this.assetsBucket = this.setupAssetsBucket()

this.imageLambda = this.setupImageLambda({
Expand Down

0 comments on commit 9549806

Please sign in to comment.