Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Commit

Permalink
Refactor: Update env variable for library mfe
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuf-musleh committed Jan 11, 2024
1 parent 3afa4db commit 09dbe55
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ PRIVACY_POLICY_URL=
SUPPORT_EMAIL=
ENABLE_ACCESSIBILITY_PAGE=false
LOGO_URL=
COURSE_AUTHORING_MFE_BASE_URL=
COURSE_AUTHORING_MICROFRONTEND_URL=
2 changes: 1 addition & 1 deletion .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ SUPPORT_EMAIL=
ENABLE_ACCESSIBILITY_PAGE=false
LOGO_URL=https://edx-cdn.org/v3/default/logo.svg
MFE_NAME='frontend-app-library-authoring'
COURSE_AUTHORING_MFE_BASE_URL='http://localhost:2001'
COURSE_AUTHORING_MICROFRONTEND_URL='http://localhost:2001'
2 changes: 1 addition & 1 deletion .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ PRIVACY_POLICY_URL=
SUPPORT_EMAIL=
ENABLE_ACCESSIBILITY_PAGE=false
LOGO_URL=https://edx-cdn.org/v3/default/logo.svg
COURSE_AUTHORING_MFE_BASE_URL='http://localhost:2001'
COURSE_AUTHORING_MICROFRONTEND_URL='http://localhost:2001'
2 changes: 1 addition & 1 deletion src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mergeConfig({
PRIVACY_POLICY_URL: process.env.PRIVACY_POLICY_URL,
SUPPORT_EMAIL: process.env.SUPPORT_EMAIL,
SHOW_ACCESSIBILITY_PAGE: process.env.SHOW_ACCESSIBILITY_PAGE,
COURSE_AUTHORING_MFE_BASE_URL: process.env.COURSE_AUTHORING_MFE_BASE_URL,
COURSE_AUTHORING_MICROFRONTEND_URL: process.env.COURSE_AUTHORING_MICROFRONTEND_URL,
});

subscribe(APP_READY, () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ const ContentTagsDrawer = ({ openContentTagsDrawer, setOpenContentTagsDrawer })
ref={iFrameRef}
title="manage-tags-drawer"
className="w-100 h-100 border-0"
src={`${getConfig().COURSE_AUTHORING_MFE_BASE_URL}/tagging/components/widget/${openContentTagsDrawer}`}
src={`${getConfig().COURSE_AUTHORING_MICROFRONTEND_URL}/tagging/components/widget/${openContentTagsDrawer}`}
/>
);

Expand Down

0 comments on commit 09dbe55

Please sign in to comment.