web/remux: return render instead of the original file

LMFAOOOOOOO
This commit is contained in:
wukko 2024-09-09 12:05:13 +06:00
parent 91d09a4e89
commit 0b5b8454a9
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -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;