diff --git a/src/editors/EditorContainer.jsx b/src/editors/EditorContainer.jsx index 1e0842d62..46dcfc298 100644 --- a/src/editors/EditorContainer.jsx +++ b/src/editors/EditorContainer.jsx @@ -2,6 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import { useParams } from 'react-router'; import { EditorPage } from '@edx/frontend-lib-content-components'; +import { getConfig } from '@edx/frontend-platform'; const EditorContainer = ({ courseId, @@ -13,8 +14,8 @@ const EditorContainer = ({ courseId={courseId} blockType={blockType} blockId={blockId} - studioEndpointUrl={process.env.STUDIO_BASE_URL} - lmsEndpointUrl={process.env.LMS_BASE_URL} + studioEndpointUrl={getConfig().STUDIO_BASE_URL} + lmsEndpointUrl={getConfig().LMS_BASE_URL} /> );