This commit is contained in:
Sem van der Hoeven
2023-06-05 20:58:37 +02:00
parent b4ae183829
commit 0aff792254

View File

@@ -174,6 +174,7 @@ app.get("/connect", function (req, res) {
connect_to_api();
setTimeout(function () {
if (api_connected) {
console.log("Connected to API");
res.status(200).json({ connected: true });
} else {
received_error = false;