fixed small bugs, added a table to show the flotte

This commit is contained in:
Stage2 committed 2026-06-22 16:40:20 +02:00
1 parent fe90e2d766
commit 608cceec18
3 files changed
+46 -2

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
async function chargerFlotte() {
const reponse = await fetch("./vehicules.json"); // on demande le fichier
const reponse = await fetch("../vehicules.json"); // on demande le fichier
const vehicules = await reponse.json(); // on le transforme en tableau JS
console.log(vehicules); // pour vérifier
}