Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed May 3, 2022
1 parent 5f096b4 commit f18982c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/next/server/require.ts
Expand Up @@ -63,7 +63,7 @@ export function getPagePath(
manifestNoLocales[normalizeLocalePath(key, locales).pathname] =
pagesManifest[key]
}
curPath = manifestNoLocales[curPath]
curPath = manifestNoLocales[page]
}
return curPath
}
Expand Down
2 changes: 1 addition & 1 deletion packages/next/server/web-server.ts
Expand Up @@ -105,7 +105,7 @@ export default class NextWebServer extends BaseServer<WebServerOptions> {
}
protected getRootPathsManifest() {
return {
[(globalThis as any).__server_context.page]: '',
[this.serverOptions.webServerConfig.page]: '',
}
}
protected getFilesystemPaths() {
Expand Down

0 comments on commit f18982c

Please sign in to comment.