Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(facial-expressions): base url for models (#11218)

Gabriel Borlea7751060b63d7
diff --git a/react/features/facial-recognition/actions.js b/react/features/facial-recognition/actions.js
index f08bc66dc5..baf4f33d99 100644
--- a/react/features/facial-recognition/actions.js
+++ b/react/features/facial-recognition/actions.js
@@ -67,8 +67,8 @@ export function loadWorker() {
return;
}
- const baseUrl = getBaseUrl();
- let workerUrl = `${baseUrl}libs/facial-expressions-worker.min.js`;
+ const baseUrl = `${getBaseUrl()}/libs/`;
+ let workerUrl = `${baseUrl}facial-expressions-worker.min.js`;
const workerBlob = new Blob([ `importScripts("${workerUrl}");` ], { type: 'application/javascript' });