From 277d929fa88a978e78a2482aea791f571bb54979 Mon Sep 17 00:00:00 2001 From: Maria Grimaldi Date: Tue, 7 Nov 2023 12:25:43 -0400 Subject: [PATCH] feat: allow LOGO_URL runtime configuration --- .env | 2 ++ .env.development | 2 ++ src/containers/LearnerDashboardHeader/BrandLogo.jsx | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 2291ec64..d5e3c02e 100644 --- a/.env +++ b/.env @@ -42,3 +42,5 @@ ENABLE_NOTICES='' CAREER_LINK_URL='' OPTIMIZELY_FULL_STACK_SDK_KEY='' EXPERIMENT_08_23_VAN_PAINTED_DOOR=true +APP_ID='' +MFE_CONFIG_API_URL='' diff --git a/.env.development b/.env.development index 78e4c40a..34a3a2fc 100644 --- a/.env.development +++ b/.env.development @@ -48,3 +48,5 @@ ACCOUNT_PROFILE_URL='http://localhost:1995' ENABLE_NOTICES='' CAREER_LINK_URL='' OPTIMIZELY_FULL_STACK_SDK_KEY='' +APP_ID='' +MFE_CONFIG_API_URL='' diff --git a/src/containers/LearnerDashboardHeader/BrandLogo.jsx b/src/containers/LearnerDashboardHeader/BrandLogo.jsx index fcedb008..aab39469 100644 --- a/src/containers/LearnerDashboardHeader/BrandLogo.jsx +++ b/src/containers/LearnerDashboardHeader/BrandLogo.jsx @@ -1,9 +1,9 @@ import React from 'react'; +import { getConfig } from '@edx/frontend-platform'; import { useIntl } from '@edx/frontend-platform/i18n'; import { reduxHooks } from 'hooks'; -import { configuration } from '../../config'; import messages from './messages'; @@ -15,7 +15,7 @@ export const BrandLogo = () => { {formatMessage(messages.logoAltText)}