Skip to content

Commit

Permalink
fix: cdk
Browse files Browse the repository at this point in the history
  • Loading branch information
apalchys committed Nov 27, 2023
1 parent 1e6b593 commit e9d0028
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 1 deletion.
42 changes: 42 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"@aws-cdk/aws-apigatewayv2-alpha": "2.110.0-alpha.0",
"@aws-cdk/aws-apigatewayv2-integrations-alpha": "2.110.0-alpha.0",
"@aws-sdk/client-dynamodb": "^3.458.0",
"aws-cdk": "2.110.1",
"aws-cdk-lib": "2.110.1",
"constructs": "^10",
"querystring": "^0.2.1",
Expand Down
2 changes: 1 addition & 1 deletion src/cdk/AngularCourseStack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export class AngularCourseStack extends cdk.Stack {
originConfigs: [
{
customOriginSource: {
domainName: httpApi.url!,
domainName: `${httpApi.httpApiId}.execute-api.${this.region}.amazonaws.com`,
originProtocolPolicy: cloudfront.OriginProtocolPolicy.HTTPS_ONLY,
},
behaviors: [
Expand Down

0 comments on commit e9d0028

Please sign in to comment.