diff --git a/templates/adsb_dashboard.html b/templates/adsb_dashboard.html index 842fb73..d31cbe2 100644 --- a/templates/adsb_dashboard.html +++ b/templates/adsb_dashboard.html @@ -1894,7 +1894,7 @@ sudo make install document.getElementById('airbandStatus').textContent = 'STARTING...'; document.getElementById('airbandStatus').style.color = 'var(--accent-orange)'; - fetch('/spectrum/audio/start', { + fetch('/listening/audio/start', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ @@ -1912,7 +1912,7 @@ sudo make install // Start browser audio playback const audioPlayer = document.getElementById('airbandPlayer'); - audioPlayer.src = '/spectrum/audio/stream?' + Date.now(); + audioPlayer.src = '/listening/audio/stream?' + Date.now(); // Initialize visualizer before playing initAirbandVisualizer(); @@ -1946,7 +1946,7 @@ sudo make install audioPlayer.pause(); audioPlayer.src = ''; - fetch('/spectrum/audio/stop', { method: 'POST' }) + fetch('/listening/audio/stop', { method: 'POST' }) .then(r => r.json()) .then(() => { isAirbandPlaying = false;