Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

Commit 628f2ac

Browse files
committed
Add flag
1 parent 6fc1d33 commit 628f2ac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,10 @@ const config = {
7777
ltiActivated: getEnvironmentVariable("LTI_ACTIVATED", ltiActivated),
7878
ndlaPersonalClientId: getEnvironmentVariable("NDLA_PERSONAL_CLIENT_ID", ""),
7979
auth0Domain: getEnvironmentVariable("AUTH0_DOMAIN", getAuth0Hostname()),
80-
auth0BrowserDomain: getEnvironmentVariable("AUTH0_DOMAIN", getAuth0Hostname(true)),
80+
auth0BrowserDomain: getEnvironmentVariable(
81+
"AUTH0_CUSTOM_DOMAIN",
82+
getAuth0Hostname(getEnvironmentVariable("AUTH0_CUSTOM_DOMAIN_ENABLED", false)),
83+
),
8184
disableSSR: getEnvironmentVariable("DISABLE_SSR", false),
8285
zendeskWidgetKey: getEnvironmentVariable("NDLA_ZENDESK_WIDGET_KEY"),
8386
app: {

0 commit comments

Comments
 (0)