Mathjax local installation on airgapped system

Hi,
Im trying to create a openedx system, but as airgapped system. From a bit of reverse engineering, I now got a running production openedx system running via a nginx Reverse Proxy. But I´m seeing an issue when trying to add a new unit to a course via studio. its stuck at “loading” and i can see from the web debug, the timeout is on mathjax, which is trying to connect to an outside adress with npm module.
My question is… how can i change the mathjax module to run locally and not via the cdn.jsdelivr.net/npm… link.

Hope someone can help me out.