test
This commit is contained in:
1 parent
7d63156789
commit
a7ef7c11ae
1 file changed
-7
@@ -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"];
|
||||
|
||||
Reference in new issue
Block a user