This commit is contained in:
2025-10-13 23:48:57 +02:00
parent 7f8482dc5a
commit 68ad062523
+1 -1
View File
@@ -15,7 +15,7 @@ export default async function auth(
.address as string; .address as string;
console.log("Authenticating with server at:", ip); console.log("Authenticating with server at:", ip);
const server_auth = ((await axios.post("/api/auth", { id })).data as any) const server_auth = ((await axios.post("/api/auth", { server_id: id })).data as any)
.token; .token;
// Open the WebSocket connection // Open the WebSocket connection