development -> main #1

Open
Christopher.Hase wants to merge 93 commits from development into main
Showing only changes of commit acdeb23c92 - Show all commits

View file

@ -3,10 +3,14 @@ function handleClick(): void {
console.log("Der Button wurde geklickt!"); console.log("Der Button wurde geklickt!");
alert("Hallo von TypeScript!"); alert("Hallo von TypeScript!");
fetch("/api/command", { method: "POST" }) fetch("http://localhost:8090/api/command", { method: "POST" })
.then(res => res.text()) .then(res => res.text())
.then(text => console.log("Server sagt:", text)); .then(text => console.log("Server sagt:", text));
/*fetch("/api/command", { method: "POST" })
.then(res => res.text())
.then(text => console.log("Server sagt:", text));*/
/*fetch("https://192-168-197-2.c-one-infra.de/api/command", { method: "POST" }) /*fetch("https://192-168-197-2.c-one-infra.de/api/command", { method: "POST" })
.then(res => res.text()) .then(res => res.text())
.then(text => console.log("Server sagt:", text)); */ .then(text => console.log("Server sagt:", text)); */