Skip to content

Commit

Permalink
fix: a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wuls committed May 17, 2024
1 parent 24a69c1 commit 291bfb9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/qwik-city/utils/fs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ export function getPathnameFromDirPath(opts: NormalizedPluginOptions, dirPath: s
// remove grouped layout segments
.filter((segment) => !isGroupedLayoutName(segment))
.join('/');
if (pathname === '') {
return '/';
}
return pathname;
}

Expand Down

0 comments on commit 291bfb9

Please sign in to comment.