fix: update menu item link for account and profile (#119)
This commit is contained in:
@@ -3,6 +3,8 @@ import { configuration } from 'config';
|
||||
|
||||
const baseUrl = `${configuration.LMS_BASE_URL}`;
|
||||
export const ecommerceUrl = `${configuration.ECOMMERCE_PUBLIC_URL_ROOT}`;
|
||||
export const accountUrl = `${configuration.ACCOUNT_MICROFRONTEND_URL}`;
|
||||
export const profileUrl = (username) => `${configuration.PROFILE_MICROFRONTEND_URL}${username}`;
|
||||
|
||||
export const api = `${baseUrl}/api`;
|
||||
|
||||
@@ -27,6 +29,7 @@ export const creditPurchaseUrl = (courseId) => `${ecommerceUrl}/credit/checkout/
|
||||
export const creditRequestUrl = (providerId) => `${api}/credit/v1/providers/${providerId}/request`;
|
||||
|
||||
export default StrictDict({
|
||||
accountUrl,
|
||||
api,
|
||||
baseAppUrl,
|
||||
courseUnenroll,
|
||||
@@ -36,6 +39,7 @@ export default StrictDict({
|
||||
event,
|
||||
init,
|
||||
learningMfeUrl,
|
||||
profileUrl,
|
||||
programsUrl,
|
||||
updateEmailSettings,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user