Skip to content
Permalink
Browse files

Fixed bug with prerender on Windows system

  • Loading branch information...
Smip committed May 14, 2019
1 parent b751302 commit 5d68ae05d114b584785551a4d185a682064d94bd
Showing with 4 additions and 2 deletions.
  1. +4 −2 prerender.ts
@@ -62,8 +62,10 @@ ROUTES.forEach((route) => {
if (!existsSync(fullPath)) {
let syncpath = BROWSER_FOLDER;
route.split('/').forEach((element) => {
syncpath = syncpath + '/' + element;
mkdirSync(syncpath);
syncpath = join(syncpath, element);
if (!existsSync(syncpath)) {
mkdirSync(syncpath);
}
});
}

0 comments on commit 5d68ae0

Please sign in to comment.
You can’t perform that action at this time.