diff --git a/react/features/facial-recognition/actions.js b/react/features/facial-recognition/actions.js index f08bc66dc..baf4f33d9 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' });