mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-31 14:08:06 +08:00
fix: 延长备份下载超时时间 (#739)
This commit is contained in:
parent
44a1d9d16c
commit
4399ffa9a4
@ -54,16 +54,16 @@ export const loadBaseDir = () => {
|
||||
|
||||
// backup
|
||||
export const handleBackup = (params: Backup.Backup) => {
|
||||
return http.post(`/settings/backup/backup`, params, 400000);
|
||||
return http.post(`/settings/backup/backup`, params, 600000);
|
||||
};
|
||||
export const handleRecover = (params: Backup.Recover) => {
|
||||
return http.post(`/settings/backup/recover`, params, 400000);
|
||||
return http.post(`/settings/backup/recover`, params, 600000);
|
||||
};
|
||||
export const handleRecoverByUpload = (params: Backup.Recover) => {
|
||||
return http.post(`/settings/backup/recover/byupload`, params, 400000);
|
||||
return http.post(`/settings/backup/recover/byupload`, params, 600000);
|
||||
};
|
||||
export const downloadBackupRecord = (params: Backup.RecordDownload) => {
|
||||
return http.post<string>(`/settings/backup/record/download`, params);
|
||||
return http.post<string>(`/settings/backup/record/download`, params, 600000);
|
||||
};
|
||||
export const deleteBackupRecord = (params: { ids: number[] }) => {
|
||||
return http.post(`/settings/backup/record/del`, params);
|
||||
|
Loading…
x
Reference in New Issue
Block a user