mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-29 18:04:15 +02:00
Fix redirects (#1325)
Not a very elegant solution, but it should work. Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
parent
aed3a80287
commit
f2a37ce801
@ -112,6 +112,20 @@ const routes: RouteRecordRaw[] = [
|
||||
{
|
||||
path: 'build/:pipelineId',
|
||||
redirect: (route) => ({ name: 'repo-pipeline', params: route.params }),
|
||||
children: [
|
||||
{
|
||||
path: ':procId?',
|
||||
redirect: (route) => ({ name: 'repo-pipeline', params: route.params }),
|
||||
},
|
||||
{
|
||||
path: 'changed-files',
|
||||
redirect: (route) => ({ name: 'repo-pipeline-changed-files', params: route.params }),
|
||||
},
|
||||
{
|
||||
path: 'config',
|
||||
redirect: (route) => ({ name: 'repo-pipeline-config', params: route.params }),
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user