feat(backup): 实现备份恢复进度实时显示功能

This commit is contained in:
zhang1106
2026-03-17 11:19:15 +08:00
parent 124cca65ba
commit 971ecd62d6
6 changed files with 589 additions and 341 deletions
+9
View File
@@ -51,6 +51,15 @@ export default defineConfig({
host: '0.0.0.0',
port: port,
proxy: {
'/api/backup/restore-progress': {
target: 'http://localhost:8000',
changeOrigin: true,
configure: (proxy, _options) => {
proxy.on('proxyReq', (proxyReq, req, _res) => {
proxyReq.setHeader('Connection', 'keep-alive');
});
}
},
'/api': {
target: 'http://localhost:8000',
changeOrigin: true