mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-31 14:08:06 +08:00
feat: 增加文件压缩解压的超时时间 (#2886)
Refs https://github.com/1Panel-dev/1Panel/issues/2884
This commit is contained in:
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…
x
Reference in New Issue
Block a user