From 57d3b5a276f81759c29be407ca848c01b373d4bd Mon Sep 17 00:00:00 2001 From: Jason Wesson Date: Thu, 28 Mar 2024 17:27:58 +0000 Subject: [PATCH] refactor: remove over-write of environment variables in configuration.js --- src/config/index.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/config/index.js b/src/config/index.js index 4430482e..5efd3d13 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -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 };