fix js
This commit is contained in:
parent
e93b8d39ee
commit
cbc5a703f8
@ -65,7 +65,11 @@
|
||||
|
||||
|
||||
|
||||
if (typeof es === 'undefined') {
|
||||
let es = new EventSource("/api/download/stream");
|
||||
} else {
|
||||
es = new EventSource("/api/download/stream");
|
||||
}
|
||||
|
||||
es.addEventListener("jobs", async (e) => {
|
||||
console.log("🧪 Event brut reçu es const:", e.data);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user