From 0f21e8d9ca2ae6ccd92ac31086024e85461e80d6 Mon Sep 17 00:00:00 2001 From: AIIrondev Date: Mon, 3 Aug 2026 01:02:40 +0200 Subject: [PATCH] fix of the json upload format --- Web/templates/upload_batch.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Web/templates/upload_batch.html b/Web/templates/upload_batch.html index d80bf9c..d38cf06 100644 --- a/Web/templates/upload_batch.html +++ b/Web/templates/upload_batch.html @@ -168,7 +168,8 @@ try { const response = await fetch('/upload_csv_batch', { method: 'POST', - body: formData + body: formData, + credentials: 'include' }); // Antwort einmalig als Text auslesen, um sowohl JSON als auch HTML-Fehler abzufangen