We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ada149c commit 9d1fad8Copy full SHA for 9d1fad8
examples/sst/stacks/PagesRouter.ts
@@ -3,6 +3,11 @@ import { OpenNextCdkReferenceImplementation } from "./OpenNextReferenceImplement
3
export function PagesRouter({ stack }) {
4
const site = new OpenNextCdkReferenceImplementation(stack, "pagesrouter", {
5
path: "../pages-router",
6
+ /*
7
+ * We need to set this environment variable to not break other E2E tests that have an empty body. (i.e: /redirect)
8
+ * https://opennext.js.org/aws/common_issues#empty-body-in-response-when-streaming-in-aws-lambda
9
+ *
10
+ */
11
environment: {
12
OPEN_NEXT_FORCE_NON_EMPTY_RESPONSE: "true",
13
},
0 commit comments