Skip to content

Commit 347be81

Browse files
committed
demo fix base path norm
1 parent 6104777 commit 347be81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/demo/src/components/Layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ const LayoutContent = () => {
180180

181181
const routesForRouter = [
182182
{
183-
path: basePath.endsWith('/') ? basePath + '*' : basePath + '*',
183+
path: basePath.endsWith('/') ? basePath + '*' : basePath ? basePath + '/*' : '*',
184184
element: <LayoutContent/>,
185185
children: [
186186
{

0 commit comments

Comments
 (0)