Skip to content

Commit

Permalink
解决上传大文件超时的问题 (#606)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaord authored Dec 15, 2023
1 parent 7b5c350 commit 34656df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/app/src/web/common/file/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 34656df

Please sign in to comment.