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 62a71db commit 3662682Copy full SHA for 3662682
packages/@apphosting/adapter-nextjs/src/utils.ts
@@ -49,7 +49,7 @@ export async function loadMiddlewareManifest(
49
standalonePath: string,
50
distDir: string,
51
): Promise<MiddlewareManifest> {
52
- const manifestPath = join(standalonePath, distDir, MIDDLEWARE_MANIFEST);
+ const manifestPath = join(standalonePath, distDir, `server/${MIDDLEWARE_MANIFEST}`);
53
const json = readFileSync(manifestPath, "utf-8");
54
return JSON.parse(json) as MiddlewareManifest;
55
}
0 commit comments