diff --git a/cms/static/cms/js/require-config.js b/cms/static/cms/js/require-config.js index e6fbc304dbe1..061af74ae79b 100644 --- a/cms/static/cms/js/require-config.js +++ b/cms/static/cms/js/require-config.js @@ -353,6 +353,11 @@ 'jquery_extend_patch': { deps: ['jquery'] } + }, + config: { + text: { + useXhr: () => true + } } }); }).call(this, require, define); diff --git a/lms/static/lms/js/require-config.js b/lms/static/lms/js/require-config.js index c385d2cba329..f6a807bc57f6 100644 --- a/lms/static/lms/js/require-config.js +++ b/lms/static/lms/js/require-config.js @@ -226,6 +226,11 @@ 'hls': { exports: 'Hls' } + }, + config: { + text: { + useXhr: () => true + } } }); }).call(this, require || RequireJS.require, define || RequireJS.define);