diff --git a/assets/main.js b/assets/main.js index 4b13010..6eade0a 100644 --- a/assets/main.js +++ b/assets/main.js @@ -261,7 +261,7 @@ async function chargerDepeches() { const feed = document.getElementById('feed'); try { - const r = await fetch('/depeches'); + const r = await fetch('/api/depeches'); const depeches = await r.json(); feed.innerHTML = '';