Skip to content

Commit 0bd3eff

Browse files
jolyndenningleo
authored andcommitted
Using posix path resolution. Resolves vercel/serve#525 (#89)
1 parent b5f9463 commit 0bd3eff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const errorTemplate = require('./error');
2121
const sourceMatches = (source, requestPath, allowSegments) => {
2222
const keys = [];
2323
const slashed = slasher(source);
24-
const resolvedPath = path.resolve(requestPath);
24+
const resolvedPath = path.posix.resolve(requestPath);
2525

2626
let results = null;
2727

0 commit comments

Comments
 (0)