Skip to content

Commit

Permalink
(docs): fix docs references based on cdk types (#147)
Browse files Browse the repository at this point in the history
(docs): fix defaultBehavior as origin cdk types
  • Loading branch information
etc-tiago authored Oct 6, 2024
1 parent f6b49f1 commit f60e696
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion apps/docs/src/content/docs/guides/02-query-parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ export class HelloCdkStack extends Stack {
},
// This configures everything excluding subpaths of /api.
cloudfrontDistribution: {
cachePolicy,
defaultBehavior: {
cachePolicy,
},
},
},
websiteDir: "../my-astro-project",
Expand Down
4 changes: 3 additions & 1 deletion apps/docs/src/content/docs/guides/03-cookies.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ export class HelloCdkStack extends Stack {
},
// This configures everything excluding subpaths of /api.
cloudfrontDistribution: {
cachePolicy,
defaultBehavior: {
cachePolicy,
},
},
},
websiteDir: "../my-astro-project",
Expand Down

0 comments on commit f60e696

Please sign in to comment.