restructuring

This commit is contained in:
nora 2022-02-20 14:59:54 +01:00
parent ed4a107c44
commit 9b48dec533
12 changed files with 1988 additions and 1586 deletions

View file

@ -40,7 +40,7 @@ const renderConnections = (connections) => {
};
const refresh = async () => {
const fetched = await fetch('http://localhost:3000/api/data');
const fetched = await fetch('api/data');
const data = await fetched.json();
renderConnections(data.connections);
};