Skip to content

Commit 6850312

Browse files
lainleePanJiaChen
authored andcommitted
fix: fixed redirect path regex (PanJiaChen#2933)
1 parent d634e2a commit 6850312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/router/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const constantRoutes = [
4545
hidden: true,
4646
children: [
4747
{
48-
path: '/redirect/:path*',
48+
path: '/redirect/:path(.*)',
4949
component: () => import('@/views/redirect/index')
5050
}
5151
]

0 commit comments

Comments
 (0)