Skip to content

Commit 9336ab8

Browse files
committed
chore: minor cleanup from PR
1 parent 70e0105 commit 9336ab8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/batch.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ function makeBatchRoutingPathFunction(originalUrl, serverURL, publicServerURL) {
5050
: startsWithLocal
5151
? localPath.length
5252
: publicPath.length;
53-
// Build the new path by removing the public path
54-
// and joining with the local path
53+
5554
const newPath = path.posix.join('/', localPath, '/', requestPath.slice(pathLengthToUse));
55+
5656
// Use the method for local routing
5757
return makeRoutablePath(newPath);
5858
};

0 commit comments

Comments
 (0)