Index.html

This commit is contained in:
2025-10-08 21:27:05 +02:00
parent 1a67dca394
commit b2f9b701fe
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@@ -61,7 +61,7 @@ document.addEventListener("DOMContentLoaded", () => {
fetch("{{ url_for('get_log') }}") fetch("{{ url_for('get_log') }}")
.then(response => response.text()) .then(response => response.text())
.then(data => { .then(data => {
const lines = data.split("\n").filter(line => !line.includes("ist erreichbar!")); const lines = data.split("\n");
let lastSepIndex = -1; let lastSepIndex = -1;
for (let i = lines.length - 1; i >= 0; i--) { for (let i = lines.length - 1; i >= 0; i--) {
if (lines[i].startsWith("--------------------------------------------------------------------")) { if (lines[i].startsWith("--------------------------------------------------------------------")) {