From 05d0522a0443c33af343d287972ce76bdd28d288 Mon Sep 17 00:00:00 2001 From: Christopher Hase Date: Fri, 11 Apr 2025 15:18:29 +0200 Subject: [PATCH] add http-server part 7.9.14 CORS --- frontend/event.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/event.ts b/frontend/event.ts index 067e00c..b1a0b12 100644 --- a/frontend/event.ts +++ b/frontend/event.ts @@ -4,8 +4,8 @@ function handleClick(): void { alert("Hallo von TypeScript!"); //fetch("http://localhost:8090/api/command", { - - fetch("/api/command", { + //fetch("/api/command", { + fetch("http://192-168-197-2.c-one-infra.de:8090/api/command", { method: "POST" /*, headers: {