Skip to content

Commit c7f1014

Browse files
committed
fix: added cachePolicy to the wrong stack
1 parent a612044 commit c7f1014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ export function adapter({
7777

7878
await serverStack.setAllConfig({
7979
'aws:region': { value: region },
80-
cachePolicy: { value: `Managed-${cachePolicy}` },
8180
projectPath: { value: process.cwd() },
8281
serverPath: { value: server_directory },
8382
optionsPath: { value: options_directory },
@@ -116,6 +115,7 @@ export function adapter({
116115

117116
await mainStack.setAllConfig({
118117
'aws:region': { value: region },
118+
cachePolicy: { value: `Managed-${cachePolicy}` },
119119
edgePath: { value: edge_directory },
120120
staticPath: { value: static_directory },
121121
prerenderedPath: { value: prerendered_directory },

0 commit comments

Comments
 (0)