diff --git a/www/index.html b/www/index.html index 4781b57f..86497bae 100644 --- a/www/index.html +++ b/www/index.html @@ -89,9 +89,7 @@ const templates = [ 'stream', '2-way-aud', - 'mp4', - 'mjpeg', - 'info', + 'links', 'delete', ]; @@ -138,15 +136,17 @@ for (const [name, value] of Object.entries(data)) { const online = value && value.consumers ? value.consumers.length : 0; + const src = encodeURIComponent(name); const links = templates.map(link => { - return link.replace("{name}", encodeURIComponent(name)); + return link.replace("{name}", src); }).join(" "); const tr = document.createElement("tr"); tr.dataset["id"] = name; tr.innerHTML = `