Skip to content

Commit 6816a17

Browse files
authored
chore: make sure links point to MFE not legacy (#485)
now that the legacy profile and account pages have been removed, we need to make sure that all of the links point to the MFE URLs; we were relying on the legacy applications to do redirection before. FIXES: APER-3884 FIXES: openedx/public-engineering#71
1 parent ab669bb commit 6816a17

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/ProgramCertificatesList/ProgramCertificatesList.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function ProgramCertificatesList({ intl }) {
8686
const { username } = getAuthenticatedUser();
8787
return (
8888
<Hyperlink
89-
destination={`${getConfig().LMS_BASE_URL}/u/${username}`}
89+
destination={`${getConfig().ACCOUNT_PROFILE_URL}/u/${username}`}
9090
className="mb-4 d-inline-block muted-link pl-3 pr-3"
9191
>
9292
<ChevronLeft className="mb-1" />

src/components/ProgramRecordsList/ProgramRecordsList.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function ProgramRecordsList() {
4646
const { username } = getAuthenticatedUser();
4747
return (
4848
<Hyperlink
49-
destination={`${getConfig().LMS_BASE_URL}/u/${username}`}
49+
destination={`${getConfig().ACCOUNT_PROFILE_URL}/u/${username}`}
5050
className="mb-4 d-inline-block muted-link pl-3 pr-3"
5151
>
5252
<ChevronLeft className="mb-1" />

0 commit comments

Comments
 (0)