diff --git a/internal/web/ui/templates/monitor.html b/internal/web/ui/templates/monitor.html index 762562c..43a45bd 100644 --- a/internal/web/ui/templates/monitor.html +++ b/internal/web/ui/templates/monitor.html @@ -49,7 +49,7 @@ function loadAll() { wall.style.gridTemplateColumns = "repeat(" + cols + ",minmax(0,1fr))"; var html = ""; all.forEach(function(ch, i) { - var proxyUrl = '/hls/' + ch._devId + '/hls/' + ch.name + '/index.m3u8'; + var proxyUrl = '/ui/hls/' + ch._devId + '/hls/' + ch.name + '/index.m3u8'; html += '
'; html += '
'; html += '' + esc(ch._dev) + ' ยท ' + esc(ch.name) + ''; @@ -65,7 +65,7 @@ function loadAll() { // Initialize HLS players all.forEach(function(ch, i) { if (!ch.hls_url || !ch._devId) return; - var proxyUrl = '/hls/' + ch._devId + '/hls/' + ch.name + '/index.m3u8'; + var proxyUrl = '/ui/hls/' + ch._devId + '/hls/' + ch.name + '/index.m3u8'; var video = document.getElementById('v' + i); if (!video) return; if (Hls.isSupported()) {