fix libs location in test-run,add jpeg png support
This commit is contained in:
parent
8c3790bead
commit
e43fabb216
14 changed files with 68 additions and 10 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue