From d804324e6748f6c09ee289f4a7ca468d392d0770 Mon Sep 17 00:00:00 2001 From: tian <11429339@qq.com> Date: Thu, 7 May 2026 15:33:32 +0800 Subject: [PATCH] fix: correct proxy URL path in monitor page --- internal/web/ui/templates/monitor.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()) {