mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 12:20:34 +00:00
解决上传大文件超时的问题 (#606)
This commit is contained in:
@@ -9,7 +9,7 @@ export const postUploadFiles = (
|
||||
onUploadProgress: (progressEvent: AxiosProgressEvent) => void
|
||||
) =>
|
||||
POST<string[]>('/common/file/upload', data, {
|
||||
timeout: 48000,
|
||||
timeout: 0,
|
||||
onUploadProgress,
|
||||
headers: {
|
||||
'Content-Type': 'multipart/form-data; charset=utf-8'
|
||||
|
Reference in New Issue
Block a user