diff --git a/server.js b/server.js index c4bbf2f..9c9fa3e 100644 --- a/server.js +++ b/server.js @@ -985,6 +985,8 @@ app.post("/api/desktop/multipart/abort", requireAuth, async (req, res) => { const { uploadId, key, bucket } = req.body; try { if (uploadId && key && bucket && s3Client) await s3Client.send(new AbortMultipartUploadCommand({ Bucket: bucket, Key: key, UploadId: uploadId })); } catch (_) {} desktopSessions.delete(uploadId); + res.json({ success: true }); +}); // ==================== PARALLEL CHUNK UPLOAD (Option 4 — HTTP parallelism) ==================== // Client splits files into 32 MB chunks and POSTs 6 concurrently.