development -> main #1

Open
Christopher.Hase wants to merge 93 commits from development into main
2 changed files with 1 additions and 3 deletions
Showing only changes of commit 21cbfb31c9 - Show all commits

View file

@ -1,10 +1,8 @@
//import { executeCommand } from './broker.js';
function handleClick(): void {
console.log("Der Button wurde geklickt!");
alert("Hallo von TypeScript!");
//executeCommand();
/*fetch("/api/command", { method: "POST" })
.then(res => res.text())
.then(text => console.log("Server sagt:", text));*/

View file

@ -3,7 +3,7 @@ import express from 'express';
import { executeCommand } from './broker';
const app = express();
const port = 8090;
const port = 8080;
app.post('/api/command', (req, res) => {
executeCommand();