fedimbed: remap mpeg to mp3

This commit is contained in:
Cynthia Foxwell 2022-12-06 10:59:56 -07:00
parent 296886746a
commit b46c711b65
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ async function processUrl(msg, url) {
.then((buf) => Buffer.from(buf));
files.push({
name: attachment.type.replace("/", "."),
name: attachment.type.replace("/", ".").replace("mpeg","mp3"),
contents: file,
});
}