path.join in Windows converts / in paths to \, so the path of those pages are converted to /resources\javascript\iterative-vs-functional.md but browsers can't use \ in URL so it's redirected as 404 page.
path.posix.join ensures it's always use / regardless of OS.
Edit: Shoutout to my brother for lending me his PC.
This PR fixes #214
path.join
in Windows converts/
in paths to\
, so the path of those pages are converted to/resources\javascript\iterative-vs-functional.md
but browsers can't use\
in URL so it's redirected as 404 page.path.posix.join
ensures it's always use/
regardless of OS.Edit: Shoutout to my brother for lending me his PC.