mirror of
https://github.com/LLM-Red-Team/qwen-free-api.git
synced 2025-04-12 16:57:15 +08:00
Merge 4924a01d05e665c59675bdf958a5a941500133d7 into 66da9dbc196ec45af7cab85d2ae648f1792f7dcb
This commit is contained in:
commit
135949f519
@ -767,7 +767,16 @@ async function uploadFile(fileUrl: string, ticket: string) {
|
||||
'image/tiff',
|
||||
'image/png',
|
||||
'image/bmp',
|
||||
'image/gif'
|
||||
'image/gif',
|
||||
'image/svg+xml',
|
||||
'image/webp',
|
||||
'image/ico',
|
||||
'image/heic',
|
||||
'image/heif',
|
||||
'image/bmp',
|
||||
'image/x-icon',
|
||||
'image/vnd.microsoft.icon',
|
||||
'image/x-png'
|
||||
].includes(mimeType);
|
||||
|
||||
if(isImage) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user