mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-29 21:10:14 +02:00
web/remux: return render instead of the original file
LMFAOOOOOOO
This commit is contained in:
parent
91d09a4e89
commit
0b5b8454a9
@ -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…
x
Reference in New Issue
Block a user