From 61dec47fcbc482b3c59c08f8fd36314c0639db08 Mon Sep 17 00:00:00 2001 From: Christopher Hase Date: Fri, 11 Apr 2025 11:38:22 +0200 Subject: [PATCH] add http-server part 7.9.2 --- backend/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/server.ts b/backend/server.ts index 89e6824..c904015 100644 --- a/backend/server.ts +++ b/backend/server.ts @@ -8,7 +8,7 @@ const port = 8090; //CORS aktivieren //app.use(cors()); app.use(cors({ - origin: 'http://localhost:8080' + origin: 'http://localhost:8090' })); app.post('/api/command', (req, res) => {