Skip to content

Commit fb03230

Browse files
committed
TCA-1281 - fix breadcrumb, update signup/signin urls, update url for shared cert
1 parent beeee67 commit fb03230

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

config/dev.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ module.exports = {
77
TERMS_URL:
88
"https://www.topcoder-dev.com/challenges/terms/detail/317cd8f9-d66c-4f2a-8774-63c612d99cd4",
99
PRIVACY_POLICY_URL: "https://www.topcoder-dev.com/policy",
10-
SIGN_IN_URL: `https://accounts-auth0.topcoder-dev.com/?retUrl=https%3A%2F%2Fplatform-ui.topcoder-dev.com%2Fself-service%2Fwizard&regSource=selfService`,
11-
SIGN_UP_URL: `https://accounts-auth0.topcoder-dev.com/?retUrl=https%3A%2F%2Fplatform-ui.topcoder-dev.com%2Fself-service%2Fwizard&regSource=selfService&mode=signUp`,
10+
SIGN_IN_URL: `https://accounts-auth0.topcoder-dev.com/?retUrl=https%3A%2F%2Fwork.topcoder-dev.com%2Fself-service%2Fwizard&regSource=selfService`,
11+
SIGN_UP_URL: `https://accounts-auth0.topcoder-dev.com/?retUrl=https%3A%2F%2Fwork.topcoder-dev.com%2Fself-service%2Fwizard&regSource=selfService&mode=signUp`,
1212
/**
1313
* URL of Topcoder Connect Website
1414
*/

config/prod.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ module.exports = {
77
TERMS_URL:
88
"https://www.topcoder.com/challenges/terms/detail/564a981e-6840-4a5c-894e-d5ad22e9cd6f",
99
PRIVACY_POLICY_URL: "https://www.topcoder.com/policy",
10-
SIGN_IN_URL: `https://accounts-auth0.topcoder.com/?retUrl=https%3A%2F%2Fplatform-ui.topcoder.com%2Fself-service%2Fwizard&regSource=selfService`,
11-
SIGN_UP_URL: `https://accounts-auth0.topcoder.com/?retUrl=https%3A%2F%2Fplatform-ui.topcoder.com%2Fself-service%2Fwizard&regSource=selfService&mode=signUp`,
10+
SIGN_IN_URL: `https://accounts-auth0.topcoder.com/?retUrl=https%3A%2F%2Fwork.topcoder.com%2Fself-service%2Fwizard&regSource=selfService`,
11+
SIGN_UP_URL: `https://accounts-auth0.topcoder.com/?retUrl=https%3A%2F%2Fwork.topcoder.com%2Fself-service%2Fwizard&regSource=selfService&mode=signUp`,
1212

1313
/**
1414
* URL of Topcoder Connect Website

src-ts/tools/learn/course-page-wrapper/CoursePage.context.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const CoursePageContextProvider: FC<CoursePageContextProviderProps> = pro
4646
const breadcrumbs: BreadcrumbItemModel[] = [
4747
{
4848
name: 'Topcoder Academy',
49-
url: rootRoute,
49+
url: rootRoute || '/',
5050
},
5151
...(!parentTcaCert ? [] : [parentTcaCert]),
5252
...items,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export function getTCACertificateUrl(
131131
export function getTCACertificationValidationUrl(
132132
completionUuid: string,
133133
): string {
134-
return `${EnvironmentConfig.TOPCODER_URLS.TCA}${LEARN_PATHS.root}/${completionUuid}`
134+
return `${absoluteRootRoute}/${completionUuid}`
135135
}
136136

137137
export function getTCAUserCertificationUrl(

0 commit comments

Comments
 (0)