Skip to content

Commit f18982c

Browse files
committed
fixes
1 parent 5f096b4 commit f18982c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/next/server/require.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export function getPagePath(
6363
manifestNoLocales[normalizeLocalePath(key, locales).pathname] =
6464
pagesManifest[key]
6565
}
66-
curPath = manifestNoLocales[curPath]
66+
curPath = manifestNoLocales[page]
6767
}
6868
return curPath
6969
}

packages/next/server/web-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export default class NextWebServer extends BaseServer<WebServerOptions> {
105105
}
106106
protected getRootPathsManifest() {
107107
return {
108-
[(globalThis as any).__server_context.page]: '',
108+
[this.serverOptions.webServerConfig.page]: '',
109109
}
110110
}
111111
protected getFilesystemPaths() {

0 commit comments

Comments
 (0)