diff --git a/com.umorist47.meowrelaygui/contents/ui/worker.mjs b/com.umorist47.meowrelaygui/contents/ui/worker.mjs index c3753d7..9addc33 100644 --- a/com.umorist47.meowrelaygui/contents/ui/worker.mjs +++ b/com.umorist47.meowrelaygui/contents/ui/worker.mjs @@ -64,7 +64,7 @@ function fetchRoutes() { // routeModel.append(response[i]); //} } else { - WorkerScript.sendMessage({ "action": "fetch_routes", "data": [{"code":"ERR","name":"Error, please try again :<","provider":xhr.status}] }); + //WorkerScript.sendMessage({ "action": "fetch_routes", "data": [{"code":"ERR","name":"Error, please try again :<","provider":xhr.status}] }); console.error("Failed to fetch routes:", xhr.status); } } @@ -95,7 +95,7 @@ function fetchProfile() { // profileModel.append(response[i]); //} } else { - WorkerScript.sendMessage({ "action": "fetch_profile", "data": {"provider":xhr.status, "current_device":"error"} }); + //WorkerScript.sendMessage({ "action": "fetch_profile", "data": {"provider":xhr.status, "current_device":"error"} }); console.error("Failed to fetch profile:", xhr.status); } } @@ -126,7 +126,7 @@ function fetchStats() { // profileModel.append(response[i]); //} } else { - WorkerScript.sendMessage({ "action": "fetch_stats", "data": {} }); + //WorkerScript.sendMessage({ "action": "fetch_stats", "data": {} }); console.error("Failed to fetch profile:", xhr.status); } }