debug: add console.log to handleUpload entry point

This commit is contained in:
Claus Lohmar 2026-07-22 09:10:54 +00:00
parent f3477dc23b
commit 4428d91feb

View file

@ -137,6 +137,7 @@ async function startSession(e) {
btn.disabled = false;
}
async function handleUpload(formData) {
console.log('handleUpload called, file:', formData.get('source_file')?.name);
return new Promise((resolve) => {
const xhr = new XMLHttpRequest();
const file = formData.get('source_file');