From 49b89b3d817e3d5aeeb3e3cff6928b40e1a56886 Mon Sep 17 00:00:00 2001 From: ZareMate <0.zaremate@gmail.com> Date: Thu, 2 Apr 2026 15:35:12 +0200 Subject: [PATCH] fix: update server WebSocket URL to use the correct endpoint --- afk_parent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/afk_parent.js b/afk_parent.js index 0eaa680..ac98f15 100644 --- a/afk_parent.js +++ b/afk_parent.js @@ -18,7 +18,7 @@ const SPLIT_LOGS_ENABLED = process.env.PARENT_SPLIT_LOGS === "1"; // URL of the control server's parent endpoint. const SERVER_WS_URL = process.env.AFK_SERVER_WS_URL || - `ws://localhost:${Number(process.env.AFK_PARENT_PORT || 3008)}/parent`; + `ws://server.suchodupin.com:${Number(process.env.AFK_PARENT_PORT || 3008)}/parent`; // Optional shared secret matching PARENT_SECRET on server.js const PARENT_SECRET = process.env.PARENT_SECRET || "";