Skip to content

Commit

Permalink
Update src/build/content/prerendered.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Rob Stanford <[email protected]>
  • Loading branch information
pieh and orinokai authored Oct 16, 2024
1 parent df703e8 commit f9b4de6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build/content/prerendered.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const writeCacheEntry = async (
}

/**
* Normalize routes by ensuring leading slashes and ensuring root path is index
* Normalize routes by ensuring leading slashes and ensuring root path is /index
*/
const routeToFilePath = (path: string) => {
if (path === '/') {
Expand Down

0 comments on commit f9b4de6

Please sign in to comment.