Commit 1bf59b52 authored by Johan Jatko's avatar Johan Jatko
Browse files

Update static/index.html

parent 6fd9c2c6
......@@ -13,7 +13,9 @@
fetch("/api/gimmesome").then(function(response) {
server = document.querySelector("#server");
console.log(response)
server.innerHTML = response.text();
response.text().then(function(data) {
server.innerHTML = data;
})
});
}
setTimeout(apiii, 2000);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment