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 5f096b4 commit f18982cCopy full SHA for f18982c
packages/next/server/require.ts
@@ -63,7 +63,7 @@ export function getPagePath(
63
manifestNoLocales[normalizeLocalePath(key, locales).pathname] =
64
pagesManifest[key]
65
}
66
- curPath = manifestNoLocales[curPath]
+ curPath = manifestNoLocales[page]
67
68
return curPath
69
packages/next/server/web-server.ts
@@ -105,7 +105,7 @@ export default class NextWebServer extends BaseServer<WebServerOptions> {
105
106
protected getRootPathsManifest() {
107
return {
108
- [(globalThis as any).__server_context.page]: '',
+ [this.serverOptions.webServerConfig.page]: '',
109
110
111
protected getFilesystemPaths() {
0 commit comments