fix
This commit is contained in:
parent
6a000b3184
commit
599510c5be
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@ const compressTypeMap = {
|
||||||
|
|
||||||
const mimeTypeMap = {
|
const mimeTypeMap = {
|
||||||
'image/webp': 'webp',
|
'image/webp': 'webp',
|
||||||
|
'image/jpeg': 'jpg',
|
||||||
|
'image/png': 'png',
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
export function uploadFile(
|
export function uploadFile(
|
||||||
|
|
Loading…
Reference in a new issue