refactor: remove over-write of environment variables in configuration.js
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
import { mergeConfig } from '@edx/frontend-platform';
|
||||
import envConfig from 'env.config';
|
||||
|
||||
const configuration = {
|
||||
// BASE_URL: process.env.BASE_URL,
|
||||
LMS_BASE_URL: process.env.LMS_BASE_URL,
|
||||
@@ -23,9 +20,6 @@ const configuration = {
|
||||
ENABLE_EDX_PERSONAL_DASHBOARD: process.env.ENABLE_EDX_PERSONAL_DASHBOARD === 'true',
|
||||
};
|
||||
|
||||
// This mergeConfig ensures that any variables assigned by process.env are still overwritten if declared in JS config
|
||||
mergeConfig(envConfig);
|
||||
|
||||
const features = {};
|
||||
|
||||
export { configuration, features };
|
||||
|
||||
Reference in New Issue
Block a user