Skip to content

Commit

Permalink
Add environment to NextjsServer (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
bestickley authored Aug 3, 2024
1 parent d7d2556 commit 97cc0f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Nextjs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ export class Nextjs extends Construct {
});

this.serverFunction = new NextjsServer(this, 'Server', {
environment: props.environment,
nextBuild: this.nextBuild,
staticAssetBucket: this.staticAssets.bucket,
overrides: props.overrides?.nextjsServer,
Expand Down

0 comments on commit 97cc0f8

Please sign in to comment.