diff --git a/.env.development b/.env.development index e18d3619..672ad53e 100644 --- a/.env.development +++ b/.env.development @@ -2,6 +2,8 @@ BASE_URL='localhost:8734' LMS_BASE_URL='http://localhost:18000' LOGIN_URL='http://localhost:18000/login' LOGOUT_URL='http://localhost:18000/logout' +ACCOUNT_PROFILE_URL='http://localhost:1995' +ACCOUNT_SETTINGS_URL='http://localhost:1997' LOGO_URL='https://edx-cdn.org/v3/default/logo.svg' LOGO_TRADEMARK_URL='https://edx-cdn.org/v3/default/logo-trademark.svg' LOGO_WHITE_URL='https://edx-cdn.org/v3/default/logo-white.svg' diff --git a/src/components/course-enrollments/course-cards/CompletedCourseCard.jsx b/src/components/course-enrollments/course-cards/CompletedCourseCard.jsx index 8ca1e98b..d7fe1149 100644 --- a/src/components/course-enrollments/course-cards/CompletedCourseCard.jsx +++ b/src/components/course-enrollments/course-cards/CompletedCourseCard.jsx @@ -18,7 +18,7 @@ function CompletedCourseCard(props) {
View your certificate on {' '} - your profile → + your profile →
diff --git a/src/components/masters-page/MastersPage.jsx b/src/components/masters-page/MastersPage.jsx index 92067317..9069a426 100644 --- a/src/components/masters-page/MastersPage.jsx +++ b/src/components/masters-page/MastersPage.jsx @@ -28,12 +28,12 @@ function MastersPage({ }, { type: 'item', - href: `${process.env.LMS_BASE_URL}/u/${getAuthenticatedUser().username}`, + href: `${process.env.ACCOUNT_PROFILE_URL}/u/${getAuthenticatedUser().username}`, content: 'My Profile', }, { type: 'item', - href: `${process.env.LMS_BASE_URL}/account/settings`, + href: process.env.ACCOUNT_SETTINGS_URL, content: 'Account Settings', }, {