Skip to content

Commit

Permalink
Use correct dataRoute value for prerender manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Feb 5, 2020
1 parent 3d0bfea commit d566f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ export default async function build(dir: string, conf = null): Promise<void> {
dataRoute: path.posix.join(
'/_next/data',
buildId,
`${file}.json`
`${normalizePagePath(route)}.json`
),
}
}
Expand Down

0 comments on commit d566f00

Please sign in to comment.