From 802afecb2c07262e4caa169f3c36c72a9426d113 Mon Sep 17 00:00:00 2001 From: Anton Roslund Date: Thu, 27 Mar 2025 09:55:27 +0100 Subject: [PATCH] fix incorrect api url --- static/js/status/messagesChart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/status/messagesChart.js b/static/js/status/messagesChart.js index d557370..4223016 100644 --- a/static/js/status/messagesChart.js +++ b/static/js/status/messagesChart.js @@ -7,7 +7,7 @@ ctx.fillStyle = 'gray'; ctx.textAlign = 'center'; ctx.fillText('Loading data...', canvas.width / 2, canvas.height / 2); -fetch('http://127.0.0.1:8080/api/v1/messages-per-hour') +fetch('https://map.sthlm-mesh.se/api/v1/messages-per-hour') .then(response => response.json()) .then(data => { const labels = data.map(entry => entry.hour);