fix: browser changing extension

This commit is contained in:
Maya 2025-07-28 18:06:52 +03:00
parent 09308040b0
commit 4389c06a56
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -126,7 +126,8 @@ export class VertFile {
const blob = URL.createObjectURL(
new Blob([await this.result.file.arrayBuffer()], {
type: to.slice(1),
// type: to.slice(1),
type: "application/octet-stream", // use generic type to prevent browsers changing extension
}),
);
const a = document.createElement("a");