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 04bcf32 commit b336f1cCopy full SHA for b336f1c
src/adapters/server-adapter.ts
@@ -19,7 +19,9 @@ console.log({ nextDir });
19
20
// Create a NextServer
21
const requestHandler = new NextServer.default({
22
- conf: config,
+ // Next.js compression should be disabled because of a bug in the bundled
23
+ // `compression` package — https://github.com/vercel/next.js/issues/11669
24
+ conf: { ...config, compress: false },
25
customServer: false,
26
dev: false,
27
dir: __dirname,
@@ -103,4 +105,4 @@ function loadHtmlPages() {
103
105
return Object.entries(JSON.parse(json))
104
106
.filter(([_, value]) => (value as string).endsWith(".html"))
107
.map(([key]) => key);
-}
108
+}
0 commit comments