Skip to content

Commit

Permalink
fix(docz-core): correct koa mounting path on windows systems (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksevat authored and pedronauck committed Dec 13, 2018
1 parent 84407d9 commit 6addd32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docz-core/src/webpack/devserver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const devServerConfig = (
app.use(range)

if (fs.existsSync(publicDir)) {
app.use(mount(path.join(args.base, '/public'), serveStatic(publicDir)))
app.use(mount(path.posix.join(args.base, '/public'), serveStatic(publicDir)))
}

app.use(
Expand Down

0 comments on commit 6addd32

Please sign in to comment.