Victor Vobis d8fd0dfb73 bless
2025-09-10 20:28:27 +02:00

28 lines
455 B
JavaScript

const API_URL='http://localhost:6080/api/';
console.log("Hello World");
const connection = {
ws: [],
node_list: [],
}
function establishConnection() {
const ws = new WebSocket('ws://localhost:6000');
}
function updateTableStats() {
}
async function getTableContent() {
let response = await fetch(API_URL + "get_table_content");
let content = await response.json()
console.log(content);
}
(async () => {
await getTableContent()
})();