Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 10afe6c

Browse files
committed
Fix NODEFS root path issue
1 parent 5778149 commit 10afe6c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/ffmpeg-core.js

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

javascript/prepend.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ Module['preRun'] = [
1010
try {
1111
require('fs').mkdirSync('./data');
1212
} catch(e) {}
13-
FS.mount(NODEFS, { root: '.' }, '/data');
13+
FS.mount(NODEFS, { root: './data' }, '/data');
1414
} else if (typeof importScripts === 'function') {
1515
FS.mount(IDBFS, {}, '/data');
1616
FS.writeFile('/data/.DUMMY', new Uint8Array([]));
1717
}
1818
},
19-
];
19+
];

0 commit comments

Comments
 (0)