Skip to content
Snippets Groups Projects
Commit 761269fe authored by Mehmet Salih Hasanoglu's avatar Mehmet Salih Hasanoglu
Browse files

host changed

parent 551f88a4
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ class App extends Component { ...@@ -51,7 +51,7 @@ class App extends Component {
reactions[i].value = index === i ? "Befehl wird gesendet ..." : "Warten ..."; reactions[i].value = index === i ? "Befehl wird gesendet ..." : "Warten ...";
} }
const requestURL = "http://0.0.0.0:5000/lamp/" + reactions[index].id + "/activate" const requestURL = "http://10.0.100.151:5000/lamp/" + reactions[index].id + "/activate"
fetch(requestURL) fetch(requestURL)
this.setState({ reactions }); this.setState({ reactions });
}; };
......
{
"lockfileVersion": 1
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment