add http-server part 7.9.14 CORS
This commit is contained in:
parent
e403d380a8
commit
05d0522a04
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ function handleClick(): void {
|
||||||
alert("Hallo von TypeScript!");
|
alert("Hallo von TypeScript!");
|
||||||
|
|
||||||
//fetch("http://localhost:8090/api/command", {
|
//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"
|
method: "POST"
|
||||||
/*,
|
/*,
|
||||||
headers: {
|
headers: {
|
||||||
|
|
Loading…
Reference in a new issue