Skip to content

Commit

Permalink
add cdk server configuration to ImageOptimizationFunction in SsrSite …
Browse files Browse the repository at this point in the history
…base construct
  • Loading branch information
jplwood committed Jan 8, 2024
1 parent 6536297 commit 36cac17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/sst/src/constructs/SsrSite.ts
Expand Up @@ -1067,6 +1067,7 @@ function handler(event) {
}),
],
...props.function,
...cdk?.server,
});

const fnUrl = fn.addFunctionUrl({
Expand Down

0 comments on commit 36cac17

Please sign in to comment.