|
|
|
|
11
|
// this connects us to the API and fetches the json file with the mociones
|
11
|
// this connects us to the API and fetches the json file with the mociones
|
12
|
const getMociones = async () => {
|
12
|
const getMociones = async () => {
|
13
|
try {
|
13
|
try {
|
14
|
- const response = await fetch('http://192.168.1.200:5000/send?PIN=121071'); // connection to the website
|
|
|
|
|
14
|
+ const response = await fetch('http://192.168.1.200:5000/send?PIN=613382'); // connection to the website
|
15
|
const json = await response.json();
|
15
|
const json = await response.json();
|
16
|
|
16
|
|
17
|
// setting the content of each category
|
17
|
// setting the content of each category
|