Skip to content

Commit

Permalink
just leave out the props altogether
Browse files Browse the repository at this point in the history
  • Loading branch information
watany-dev committed Sep 10, 2024
1 parent 3731370 commit f660a83
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ describe('FunctionUrlOriginAccessControl', () => {

new cloudfront.Distribution(stack, 'MyDistribution', {
defaultBehavior: {
origin: FunctionUrlOrigin.withOriginAccessControl(fnUrl, {
originAccessControl: undefined,
}),
origin: FunctionUrlOrigin.withOriginAccessControl(fnUrl, {}),
},
});

Expand Down

0 comments on commit f660a83

Please sign in to comment.