From 83abe16112725580854b6a53b5f40b43d043ae80 Mon Sep 17 00:00:00 2001 From: Ben Stickley <35735118+bestickley@users.noreply.github.com> Date: Fri, 2 Aug 2024 05:08:14 -0400 Subject: [PATCH] Add environment to NextjsServer --- src/Nextjs.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Nextjs.ts b/src/Nextjs.ts index e818c32..1e26b7a 100644 --- a/src/Nextjs.ts +++ b/src/Nextjs.ts @@ -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,