summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontend/main.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/main.js b/frontend/main.js
index b7ba1b7..a3b6c68 100644
--- a/frontend/main.js
+++ b/frontend/main.js
@@ -68,7 +68,7 @@ function start() {
// --- information loading + cookie setting (from server)
async function information(urlParam = null) {
- const response = fetch(`${API_URL}/info`, {
+ const response = await fetch(`${API_URL}/info`, {
credentials: "include",
method: "POST",
headers: {
@@ -96,6 +96,7 @@ async function startUpdateMachines() {
const urlParams = new URLSearchParams(window.location.search);
await information(urlParams.get("block"));
+ console.log("info done")
updateMachines();