From 5385f0ed8fbb4325203a222a75e6700ffb519349 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Tue, 7 Mar 2023 22:15:48 +0100 Subject: Updated 3 files and added pages/api/me.php (automated) --- includes/external/computers/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/external/computers/index.js') diff --git a/includes/external/computers/index.js b/includes/external/computers/index.js index 4a5115e..a8109cb 100644 --- a/includes/external/computers/index.js +++ b/includes/external/computers/index.js @@ -28,7 +28,7 @@ wss.on('connection', function connection(ws, req) { if (data.type === "client") { if (Object.keys(servers).includes(data.id)) { - if (fs.existsSync(__dirname + "/../includes/tokens/" + data.token.replaceAll(".", "").replaceAll("/", ""))) { + if (fs.existsSync(__dirname + "/../../../includes/tokens/" + data.token.replaceAll(".", "").replaceAll("/", ""))) { ws.linked = data.id; ws.id = uuid(); -- cgit