fedimbed: remap mpeg to mp3

This commit is contained in:
Cynthia Foxwell 2022-12-06 10:59:56 -07:00
parent 296886746a
commit b46c711b65

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,
});
}