Skip to content

Commit

Permalink
fix: added cachePolicy to the wrong stack
Browse files Browse the repository at this point in the history
  • Loading branch information
H0R5E committed Sep 9, 2024
1 parent a612044 commit c7f1014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ export function adapter({

await serverStack.setAllConfig({
'aws:region': { value: region },
cachePolicy: { value: `Managed-${cachePolicy}` },
projectPath: { value: process.cwd() },
serverPath: { value: server_directory },
optionsPath: { value: options_directory },
Expand Down Expand Up @@ -116,6 +115,7 @@ export function adapter({

await mainStack.setAllConfig({
'aws:region': { value: region },
cachePolicy: { value: `Managed-${cachePolicy}` },
edgePath: { value: edge_directory },
staticPath: { value: static_directory },
prerenderedPath: { value: prerendered_directory },
Expand Down

0 comments on commit c7f1014

Please sign in to comment.