diff options
Diffstat (limited to 'includes/external')
-rw-r--r-- | includes/external/computers/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |