Skip to content

Commit 7f77d46

Browse files
authored
Merge pull request #627 from topcoder-platform/TCA-1290_fix-self-service-redirect
[HOTFIX] TCA-1290 - fix the self-service redirect to new urls -> master
2 parents 4152a3b + 55c2b70 commit 7f77d46

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src-ts/tools/work/work.routes.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ const oldUrlRedirectRoute: ReadonlyArray<PlatformRoute> = EnvironmentConfig.SUBD
5656
id: 'redirect-old-url',
5757
route: '/work/*',
5858
},
59+
{
60+
children: [],
61+
element: <Rewrite to='/self-service/*' />,
62+
id: 'redirect-old-url',
63+
route: '/self-service/work/*',
64+
},
5965
] : []
6066

6167
export const workRoutes: ReadonlyArray<PlatformRoute> = [

0 commit comments

Comments
 (0)