mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-14 19:55:03 +01:00
restructuring
This commit is contained in:
parent
ed4a107c44
commit
9b48dec533
12 changed files with 1988 additions and 1586 deletions
|
|
@ -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);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue