Skip to content

Commit 8a0bb07

Browse files
fomat
1 parent f0388d4 commit 8a0bb07

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/run.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ async function run(
177177
const reqId = req.requestId;
178178
let reqPath = req.path.substring(1);
179179

180-
if (!reqPath || reqPath.endsWith("/")) {
180+
console.log(req);
181+
if (!reqPath || (reqPath.endsWith("/") && reqPath.length === 1)) {
181182
reqPath = getRelativePath();
182183
}
183184

0 commit comments

Comments
 (0)