We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 843d0c9 + 37dd8c9 commit a93e61bCopy full SHA for a93e61b
src/apps/learn/src/learn.routes.tsx
@@ -159,6 +159,12 @@ export function getAuthenticateAndEnrollRoute(): string {
159
}
160
161
const oldUrlRedirectRoute: ReadonlyArray<PlatformRoute> = EnvironmentConfig.SUBDOMAIN === AppSubdomain.tcAcademy ? [
162
+ {
163
+ children: [],
164
+ element: <Rewrite to='/certificate/:certUuid' />,
165
+ id: 'redirect-old-uuidcert-url',
166
+ route: '/learn/:certUuid',
167
+ },
168
{
169
children: [],
170
element: <Rewrite to='/*' />,
src/libs/core/lib/router/rewrite-route.tsx
@@ -19,6 +19,6 @@ export const Rewrite: FC<RewriteProps> = props => {
19
)
20
21
return (
22
- <Navigate to={rewriteTo} />
+ <Navigate to={`${rewriteTo}${window.location.search}`} />
23
24
0 commit comments