Fix worker script origin issue
This commit is contained in:
@@ -2,7 +2,7 @@ const TIMEOUT = 60000;
|
||||
const BASE_URL = 'http://localhost:3000/tests/assets';
|
||||
const IS_BROWSER = typeof window !== 'undefined' && typeof window.document !== 'undefined';
|
||||
const OPTIONS = {
|
||||
corePath: '../node_modules/@ffmpeg/core/ffmpeg-core.js',
|
||||
corePath: 'http://localhost:3000/node_modules/@ffmpeg/core/ffmpeg-core.js',
|
||||
};
|
||||
|
||||
if (typeof module !== 'undefined') {
|
||||
|
||||
Reference in New Issue
Block a user