add http-server part 8.3.4
Some checks are pending
ci / build (push) Waiting to run

This commit is contained in:
Christopher Hase 2025-04-14 11:58:03 +02:00
parent deb43031a3
commit 165b39ded7

View file

@ -2,7 +2,7 @@ function handleClick(): void {
console.log("Der Button wurde geklickt!");
//alert("Hallo von TypeScript!");
fetch("iching/api/command", { method: "POST" })
fetch("/iching/api/command", { method: "POST" })
.then(res => res.text())
.then(text => console.log("Server sagt:", text))
.catch(error => console.error("Fehler:", error));