We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a418b91 commit 6a7291dCopy full SHA for 6a7291d
packages/qwik-city/utils/fs.ts
@@ -33,7 +33,7 @@ export function getPathnameFromDirPath(opts: NormalizedPluginOptions, dirPath: s
33
// remove grouped layout segments
34
.filter((segment) => !isGroupedLayoutName(segment))
35
.join('/');
36
-
+ if (pathname === '') return '/';
37
return pathname;
38
}
39
0 commit comments