// Démonstration JavaScript pour le vault de test ObsiGate const API_URL = "http://localhost:2020/api"; async function fetchVaults() { const res = await fetch(`${API_URL}/vaults`); if (!res.ok) throw new Error("HTTP " + res.status); return res.json(); } fetchVaults().then((v) => console.log("vaults:", v));