Skip to content

Commit 97cc0f8

Browse files
authored
Add environment to NextjsServer (#227)
1 parent d7d2556 commit 97cc0f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Nextjs.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ export class Nextjs extends Construct {
179179
});
180180

181181
this.serverFunction = new NextjsServer(this, 'Server', {
182+
environment: props.environment,
182183
nextBuild: this.nextBuild,
183184
staticAssetBucket: this.staticAssets.bucket,
184185
overrides: props.overrides?.nextjsServer,

0 commit comments

Comments
 (0)