Closed uu-z closed 6 years ago
in windows the path.join
return wrong path, see below
routes:
Map {
'/' => { path: 'dot-peco\\data\\index.json', type: 'json' },
'/page/2' => { path: 'dot-peco\\data\\page\\2.json', type: 'json' },
'/hi-there' => { path: 'dot-peco/data/hi-there.json', type: 'json' },
'/your_page_name' => { path: 'dot-peco/data/your_page_name.json', type: 'json' },