summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-03-07 22:15:48 +0100
committerRaindropsSys <contact@minteck.org>2023-03-07 22:15:48 +0100
commit5385f0ed8fbb4325203a222a75e6700ffb519349 (patch)
treee0fd07ae8abe7ef40eb58cf3c45cfa7a024e863b /includes
parent65a38d43f056944525d89c18f0137eae58f60e83 (diff)
downloadpluralconnect-5385f0ed8fbb4325203a222a75e6700ffb519349.tar.gz
pluralconnect-5385f0ed8fbb4325203a222a75e6700ffb519349.tar.bz2
pluralconnect-5385f0ed8fbb4325203a222a75e6700ffb519349.zip
Updated 3 files and added pages/api/me.php (automated)
Diffstat (limited to 'includes')
-rw-r--r--includes/external/computers/index.js2
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();