This commit is contained in:
DeSqBlocki committed 2025-12-06 19:27:04 +01:00
1 parent 7d63156789
commit a7ef7c11ae
1 file changed
-7
-7
View File
@@ -141,13 +141,6 @@
<!-- AUTO-REFRESH SCRIPT -->
<!-- ======================= -->
<script>
const logBox = document.getElementById("pm2Logs");
const ws = new WebSocket("ws://" + window.location.host);
ws.onmessage = event => {
logBox.textContent += event.data + "\n";
logBox.scrollTop = logBox.scrollHeight;
};
function formatBytes(bytes) {
if (!bytes) return "Unknown";
const units = ["B","KB","MB","GB","TB"];