feat(webui): enable Range request support for backup downloads (#4329)
This commit is contained in:
1 parent
241f1c26d3
commit
ef1c66a92e
1 file changed
+1
@@ -993,6 +993,7 @@ class BackupRoute(Route):
|
||||
file_path,
|
||||
as_attachment=True,
|
||||
attachment_filename=filename,
|
||||
conditional=True, # 启用 Range 请求支持(断点续传)
|
||||
)
|
||||
except Exception as e:
|
||||
logger.error(f"下载备份失败: {e}")
|
||||
|
||||
Reference in new issue
Block a user