Skip to content

Commit a936a87

Browse files
committed
chore: add ENTERPRISE_LEARNER_PORTAL_URL env var
1 parent 609abc1 commit a936a87

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ ECOMMERCE_BASE_URL=''
1616
ENABLE_JUMPNAV='true'
1717
ENABLE_NOTICES=''
1818
ENTERPRISE_LEARNER_PORTAL_HOSTNAME=''
19+
ENTERPRISE_LEARNER_PORTAL_URL=''
1920
EXAMS_BASE_URL=''
2021
FAVICON_URL=''
2122
IGNORED_ERROR_REGEX=''

.env.development

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ ECOMMERCE_BASE_URL='http://localhost:18130'
1616
ENABLE_JUMPNAV='true'
1717
ENABLE_NOTICES=''
1818
ENTERPRISE_LEARNER_PORTAL_HOSTNAME='localhost:8734'
19+
ENTERPRISE_LEARNER_PORTAL_URL='http://localhost:8734'
1920
EXAMS_BASE_URL=''
2021
FAVICON_URL=https://edx-cdn.org/v3/default/favicon.ico
2122
IGNORED_ERROR_REGEX=''

.env.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ ECOMMERCE_BASE_URL='http://localhost:18130'
1616
ENABLE_JUMPNAV='true'
1717
ENABLE_NOTICES=''
1818
ENTERPRISE_LEARNER_PORTAL_HOSTNAME='localhost:8734'
19+
ENTERPRISE_LEARNER_PORTAL_URL='http://localhost:8734'
1920
EXAMS_BASE_URL='http://localhost:18740'
2021
FAVICON_URL=https://edx-cdn.org/v3/default/favicon.ico
2122
IGNORED_ERROR_REGEX=''
@@ -48,3 +49,4 @@ TWITTER_URL='https://twitter.com/edXOnline'
4849
USER_INFO_COOKIE_NAME='edx-user-info'
4950
PRIVACY_POLICY_URL='http://localhost:18000/privacy'
5051
SHOW_UNGRADED_ASSIGNMENT_PROGRESS=''
52+
ENTERPRISE_LEARNER_PORTAL_URL='http://localhost:Enterprise'

src/index.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ initialize({
170170
CREDIT_HELP_LINK_URL: process.env.CREDIT_HELP_LINK_URL || null,
171171
DISCUSSIONS_MFE_BASE_URL: process.env.DISCUSSIONS_MFE_BASE_URL || null,
172172
ENTERPRISE_LEARNER_PORTAL_HOSTNAME: process.env.ENTERPRISE_LEARNER_PORTAL_HOSTNAME || null,
173+
ENTERPRISE_LEARNER_PORTAL_URL: process.env.ENTERPRISE_LEARNER_PORTAL_URL || null,
173174
ENABLE_JUMPNAV: process.env.ENABLE_JUMPNAV || null,
174175
ENABLE_NOTICES: process.env.ENABLE_NOTICES || null,
175176
INSIGHTS_BASE_URL: process.env.INSIGHTS_BASE_URL || null,

0 commit comments

Comments
 (0)