This commit is contained in:
2023-12-01 13:44:58 +01:00
parent b958ff7ca2
commit 6e98701299
239 changed files with 827 additions and 102 deletions

View File

@@ -0,0 +1,17 @@
function updateHTML() {
const main = document.getElementById('maincontent')
let html = '';
for (const srv of servers) {
html += `<a class="server" href="${srv['protocol'].toLowerCase()}://localhost:${srv['port']}">${encodeURIComponent(srv['process'])} @ ${encodeURIComponent(srv['port'])}</a>`
}
main.innerHTML = html;
}
document.addEventListener("DOMContentLoaded", updateHTML);