chore: removed logs, added comments

This commit is contained in:
Akhileshrangani4
2024-09-01 20:06:11 -04:00
parent f683ff6480
commit 1d92b6ea6f
3 changed files with 2 additions and 11 deletions

View File

@ -143,8 +143,6 @@ io.on("connection", async (socket) => {
isOwner: boolean;
};
console.log("user:",data)
if (data.isOwner) {
isOwnerConnected = true;
connections[data.sandboxId] = (connections[data.sandboxId] ?? 0) + 1;
@ -185,7 +183,6 @@ io.on("connection", async (socket) => {
fixPermissions();
socket.emit("loaded", sandboxFiles.files);
console.log("files got", sandboxFiles.files)
socket.on("getFile", (fileId: string, callback) => {
console.log(fileId);