mirror of
https://github.com/Roslund/sthlm-mesh.git
synced 2026-08-12 11:53:12 +02:00
deploy: 45dc58d5e4
This commit is contained in:
@@ -10,7 +10,7 @@ async function messagesStatsGraph() {
|
||||
|
||||
|
||||
try {
|
||||
const response = await fetch('https://map.sthlm-mesh.se/api/v1/messages-per-hour')
|
||||
const response = await fetch('https://map.sthlm-mesh.se/api/v1/stats/messages-per-hour')
|
||||
const data = await response.json();
|
||||
|
||||
const labels = data.map(entry => entry.hour);
|
||||
|
||||
Reference in New Issue
Block a user