mirror of https://github.com/1Panel-dev/1Panel
feat: 增加文件压缩解压的超时时间 (#2886)
Refs https://github.com/1Panel-dev/1Panel/issues/2884pull/2892/head v1.8.1
parent
acb0bf2bfd
commit
adc34aaf75
|
@ -34,11 +34,11 @@ export const ChangeFileMode = (form: File.FileCreate) => {
|
|||
};
|
||||
|
||||
export const CompressFile = (form: File.FileCompress) => {
|
||||
return http.post<File.File>('files/compress', form);
|
||||
return http.post<File.File>('files/compress', form, TimeoutEnum.T_10M);
|
||||
};
|
||||
|
||||
export const DeCompressFile = (form: File.FileDeCompress) => {
|
||||
return http.post<File.File>('files/decompress', form);
|
||||
return http.post<File.File>('files/decompress', form, TimeoutEnum.T_10M);
|
||||
};
|
||||
|
||||
export const GetFileContent = (params: File.ReqFile) => {
|
||||
|
|
Loading…
Reference in New Issue