diff --git a/web/src/router.ts b/web/src/router.ts index 7afa4e36e..e4fc7b414 100644 --- a/web/src/router.ts +++ b/web/src/router.ts @@ -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 }), + }, + ], }, ], },