Skip to content

Commit

Permalink
Update flat-routes.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mcansh authored Feb 2, 2023
1 parent 397d55a commit d5750c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/remix-dev/config/flat-routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function flatRoutes(
// fast-glob will return posix paths even on windows
// convert posix to os specific paths
let routePathsForOS = routePaths.map((routePath) => {
return normalizeSlashes(routePath);
return path.normalize(routePath);
});

return flatRoutesUniversal(appDirectory, routePathsForOS);
Expand Down

0 comments on commit d5750c9

Please sign in to comment.