# Help deploying a custom learning mfe

**URL:** <https://discuss.openedx.org/t/help-deploying-a-custom-learning-mfe/8759>\
**Category:** Site Operations Help\
**Created:** [November 18, 2022, 9:05pm UTC](https://discuss.openedx.org/t/help-deploying-a-custom-learning-mfe/8759 "2022-11-18T21:05:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![edazzo](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/edazzo/32/3999_2.png) [@edazzo](https://discuss.openedx.org/u/edazzo)\
**Post date:** [November 18, 2022, 9:05pm UTC](https://discuss.openedx.org/t/help-deploying-a-custom-learning-mfe/8759/1 "2022-11-18T21:05:29Z")

</div>

We’re trying to use a custom learning micro front end application in production. But I’m not sure how to update the lms urls to point to the new learning mfe.

I made the following plugin, but we still seem to be using the original mfe:

```auto
  openedx-lms-common-settings: |
    LEARNING_MICROFRONTEND_URL = "https://learn.lms.ourdomain.com"
    MFE_LEARNING_MFE_APP = "https://learn.lms.ourdomain.com"
    CORS_ORIGIN_WHITELIST.append("https://learn.lms.ourdomain.com")
    LOGIN_REDIRECT_WHITELIST.append("learn.lms.ourdomain.com")
    CSRF_TRUSTED_ORIGINS.append("learn.lms.ourdomain.com")

```

We can go to the new mfe url manually and see courses.

Any help would be appreciated!

Edit:  
Some additional information. We do use the tutor-mfe plugin, which does set LEARNING\_MICROFRONTEND\_URL:

```auto
tutormfe/patches/openedx-lms-development-settings:LEARNING_MICROFRONTEND_URL = "http://{{ MFE_HOST }}:{{ MFE_LEARNING_MFE_APP["port"] }}/{{ MFE_LEARNING_MFE_APP["name"] }}"

```

source: [tutor-mfe/openedx-lms-production-settings at master · overhangio/tutor-mfe · GitHub](https://github.com/overhangio/tutor-mfe/blob/master/tutormfe/patches/openedx-lms-production-settings)

Is there a way to override this value?

---

<div class="post-metadata">

**Author:** ![edazzo](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/edazzo/32/3999_2.png) [@edazzo](https://discuss.openedx.org/u/edazzo)\
**Post date:** [November 18, 2022, 11:56pm UTC](https://discuss.openedx.org/t/help-deploying-a-custom-learning-mfe/8759/2 "2022-11-18T23:56:30Z")

</div>

I got it. We needed to disable the learning front end by: `tutor config save --set MFE_LEARNING_MFE_APP=null`

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/e/e0015f89e879bc75925b71fd11133ab15fe98297.png) [@system](https://discuss.openedx.org/u/system)\
**Post date:** [February 16, 2023, 11:57pm UTC](https://discuss.openedx.org/t/help-deploying-a-custom-learning-mfe/8759/3 "2023-02-16T23:57:07Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
