dev #1
@@ -33,8 +33,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
|||||||
.then(data => {
|
.then(data => {
|
||||||
const box = document.getElementById("log-box");
|
const box = document.getElementById("log-box");
|
||||||
const filteredLines = data
|
const filteredLines = data
|
||||||
.split("\n")
|
.split("\n");
|
||||||
.filter(line => !line.includes("ist erreichbar!"));
|
|
||||||
box.innerText = filteredLines.join("\n");
|
box.innerText = filteredLines.join("\n");
|
||||||
box.scrollTop = box.scrollHeight;
|
box.scrollTop = box.scrollHeight;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user