Skip to content

Commit aa9da31

Browse files
authored
Merge branch 'main' into ddb-stream-itable-fix
2 parents 774b75c + 074b820 commit aa9da31

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

source/use_cases/aws-serverless-web-app/lib/s3-static-site-stack.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ export class S3StaticWebsiteStack extends Stack {
2525
const sourceBucket: string = 'wildrydes-us-east-1';
2626
const sourcePrefix: string = 'WebApplication/1_StaticWebHosting/website/';
2727

28-
const construct = new CloudFrontToS3(this, 'CloudFrontToS3', {});
28+
const construct = new CloudFrontToS3(this, 'CloudFrontToS3', {
29+
insertHttpSecurityHeaders: false
30+
});
2931
const targetBucket: string = construct.s3Bucket?.bucketName || '';
3032

3133
const lambdaFunc = new lambda.Function(this, 'staticContentHandler', {

source/use_cases/aws-serverless-web-app/lib/serverless-backend-stack.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ export class ServerlessBackendStack extends Stack {
3535
},
3636
cognitoUserPoolProps: {
3737
userPoolName: 'WileRydes',
38-
userVerification: {}
38+
userVerification: {},
39+
autoVerify: {
40+
email: true
41+
},
42+
selfSignUpEnabled: true
3943
},
4044
apiGatewayProps: {
4145
defaultCorsPreflightOptions: {

0 commit comments

Comments
 (0)