add http-server part 8.3.5

This commit is contained in:
Christopher Hase 2025-04-14 12:03:42 +02:00
parent 165b39ded7
commit 6c4094c27c

View file

@ -7,7 +7,9 @@ const port = 8090;
app.use(cors()); app.use(cors());
app.post('/api/command', (req, res) => { //app.post('/api/command', (req, res) => {
app.post('/iching/api/command', (req, res) => {
executeCommand(); executeCommand();
res.status(200).send('Command executed\n'); res.status(200).send('Command executed\n');
}); });