Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/lib/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,10 @@ async function run(

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

if (fullPath.endsWith("/")) {
fullPath += "index.html";
}

// Add back the query if present
url = query ? `${fullPath}?${query}` : fullPath;

Expand Down