diff --git a/src/routes/convert/+page.svelte b/src/routes/convert/+page.svelte index 3c2f2d7..4b6fa5a 100644 --- a/src/routes/convert/+page.svelte +++ b/src/routes/convert/+page.svelte @@ -122,7 +122,7 @@ // download the image only const blob = URL.createObjectURL( new Blob([dlFiles[0].input], { - type: files.files[0].file.type, + type: files.files[0].to.slice(1), }), ); const a = document.createElement("a");