From 6c4094c27ca65d1b505c6ad908c822c7f88428a2 Mon Sep 17 00:00:00 2001 From: Christopher Hase Date: Mon, 14 Apr 2025 12:03:42 +0200 Subject: [PATCH] add http-server part 8.3.5 --- backend/server.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/server.ts b/backend/server.ts index 7b989b0..1a6721d 100644 --- a/backend/server.ts +++ b/backend/server.ts @@ -7,7 +7,9 @@ const port = 8090; app.use(cors()); -app.post('/api/command', (req, res) => { +//app.post('/api/command', (req, res) => { + +app.post('/iching/api/command', (req, res) => { executeCommand(); res.status(200).send('Command executed\n'); });