Skip to content

Commit f60e696

Browse files
authored
(docs): fix docs references based on cdk types (#147)
(docs): fix defaultBehavior as origin cdk types
1 parent f6b49f1 commit f60e696

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

apps/docs/src/content/docs/guides/02-query-parameters.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ export class HelloCdkStack extends Stack {
3939
},
4040
// This configures everything excluding subpaths of /api.
4141
cloudfrontDistribution: {
42-
cachePolicy,
42+
defaultBehavior: {
43+
cachePolicy,
44+
},
4345
},
4446
},
4547
websiteDir: "../my-astro-project",

apps/docs/src/content/docs/guides/03-cookies.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ export class HelloCdkStack extends Stack {
3636
},
3737
// This configures everything excluding subpaths of /api.
3838
cloudfrontDistribution: {
39-
cachePolicy,
39+
defaultBehavior: {
40+
cachePolicy,
41+
},
4042
},
4143
},
4244
websiteDir: "../my-astro-project",

0 commit comments

Comments
 (0)