Skip to content

Commit 15c91ec

Browse files
fix. infinite loading
1 parent d6a8322 commit 15c91ec

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib/run.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,10 @@ async function run(
335335

336336
console.log(`Full PATH ${fullPath}`);
337337

338+
if(fullPath.endsWith("/")){
339+
fullPath += "index.html"
340+
}
341+
338342
// Add back the query if present
339343
url = query ? `${fullPath}?${query}` : fullPath;
340344

0 commit comments

Comments
 (0)