feat: 抽出sse实时连接服务,导入进度和同步进度共用公共sse连接

This commit is contained in:
2026-08-11 11:15:40 +08:00
parent 53dfcfd951
commit d695c342d1
20 changed files with 867 additions and 727 deletions
@@ -14,6 +14,9 @@ export default defineConfig(async () => {
// 后端服务地址
target: 'http://localhost:8080',
ws: true,
// SSE 长连接:禁止代理空闲超时断开
timeout: 0,
proxyTimeout: 0,
},
// 静态资源代理 - 用于访问上传的图片和文件
'/uploads': {