mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 04:39:58 +00:00
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