diff --git a/frontend/src/api/modules/files.ts b/frontend/src/api/modules/files.ts index 101d2a92898e..d3c5083cd4c3 100644 --- a/frontend/src/api/modules/files.ts +++ b/frontend/src/api/modules/files.ts @@ -34,11 +34,11 @@ export const ChangeFileMode = (form: File.FileCreate) => { }; export const CompressFile = (form: File.FileCompress) => { - return http.post('files/compress', form); + return http.post('files/compress', form, TimeoutEnum.T_10M); }; export const DeCompressFile = (form: File.FileDeCompress) => { - return http.post('files/decompress', form); + return http.post('files/decompress', form, TimeoutEnum.T_10M); }; export const GetFileContent = (params: File.ReqFile) => {