Skip to content

Commit 7952ddc

Browse files
committed
chore: use path normalization
1 parent 34804d0 commit 7952ddc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/site/next.dynamic.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const getDynamicRouter = async () => {
105105
// meaning that the route exists on the website and can be rendered
106106
if (pathnameToFilename.has(normalizedPathname)) {
107107
const filename = pathnameToFilename.get(normalizedPathname);
108-
const filepath = `${pagesDirectory}/${locale}/${filename}`;
108+
const filepath = normalize(`${pagesDirectory}/${locale}/${filename}`);
109109

110110
// We verify if our Markdown cache already has a cache entry for a localized
111111
// version of this file, because if not, it means that either

0 commit comments

Comments
 (0)