Skip to content

Commit

Permalink
refactor: remove over-write of environment variables in configuration.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnwesson committed Mar 28, 2024
1 parent 14a9355 commit 57d3b5a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/config/index.js
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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 };

0 comments on commit 57d3b5a

Please sign in to comment.