web/remux: return render instead of the original file
LMFAOOOOOOO
This commit is contained in:
parent
91d09a4e89
commit
0b5b8454a9
1 changed files with 5 additions and 1 deletions
|
@ -136,7 +136,11 @@
|
|||
if (!render) {
|
||||
return console.log("not a valid file");
|
||||
}
|
||||
return await downloadFile({ file });
|
||||
return await downloadFile({
|
||||
file: new File([render], file.name, {
|
||||
type: render.type
|
||||
})
|
||||
});
|
||||
} finally {
|
||||
processing = false;
|
||||
file = undefined;
|
||||
|
|
Loading…
Reference in a new issue