fix: update server WebSocket URL to use the correct endpoint
This commit is contained in:
parent
8ba50eeaa0
commit
49b89b3d81
@ -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 || "";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user