fix libs location in test-run,add jpeg png support

This commit is contained in:
Sorawit Bholsithi 2023-10-10 00:23:42 +07:00
parent 8c3790bead
commit e43fabb216
14 changed files with 68 additions and 10 deletions

View file

@ -23,7 +23,9 @@ export function mimeToExtension(mime: string): string {
"text/csv": "csv",
"text/markdown": "md",
"text/plain": "txt",
"application/rtf": "rtf"
"application/rtf": "rtf",
"image/png": "png",
"image/jpeg": "jpeg",
}
if (mimeList[mime]) {
return mimeList[mime]