From 344b3b189fa1ef9573e90c7b17b80fbbe2126aef Mon Sep 17 00:00:00 2001 From: Claus Lohmar Date: Thu, 23 Jul 2026 11:01:49 +0000 Subject: [PATCH] debug: console.log upload progress events --- frontend/templates/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/templates/index.html b/frontend/templates/index.html index 6d05d73..366c7fd 100644 --- a/frontend/templates/index.html +++ b/frontend/templates/index.html @@ -157,6 +157,7 @@ async function handleUpload(formData) { xhr.setRequestHeader('X-Session-ID', sessionId); xhr.upload.addEventListener('progress', (e) => { + console.log('upload', e.loaded, e.total, e.lengthComputable); if (e.lengthComputable) { const pct = Math.round((e.loaded / e.total) * 100); const mb = (e.loaded / (1024**2)).toFixed(0);