Set max file length to 255 in downloader

This commit is contained in:
TC
2021-04-29 22:57:12 +02:00
parent 8a5c39ee53
commit c11ecd3323

View File

@ -126,6 +126,7 @@ const toMP3 = async (
: videoName;
const filename = filenamify(name + "." + extension, {
replacement: "_",
maxLength: 255,
});
const filePath = join(folder, subfolder, filename);