add http-server part 7.9.14 CORS

This commit is contained in:
Christopher Hase 2025-04-11 15:18:29 +02:00
parent e403d380a8
commit 05d0522a04

View file

@ -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: {