fixed targetmode being included in project
This commit is contained in:
parent
82b6f82f71
commit
f3e2deb352
|
@ -36,11 +36,11 @@ const router = new VueRouter({
|
|||
base: `${gon.relative_url_root}/-/ide/`,
|
||||
routes: [
|
||||
{
|
||||
path: '/project/:namespace/:project*',
|
||||
path: '/project/:namespace/:project+',
|
||||
component: EmptyRouterComponent,
|
||||
children: [
|
||||
{
|
||||
path: ':targetmode/:branch/*',
|
||||
path: ':targetmode(edit|tree|blob)/:branch/*',
|
||||
component: EmptyRouterComponent,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue