feat: file move and delete endpoint

This commit is contained in:
Methapon2001 2023-12-12 12:01:56 +07:00
parent 8fbeda892b
commit 07d97a9091
No known key found for this signature in database
GPG key ID: 849924FEF46BD132
4 changed files with 520 additions and 44 deletions

View file

@ -42,17 +42,11 @@ const io = new Server(server, {
});
setInstance(io);
io.on("connection", (socket) => {
console.log("User Connected");
socket.on("disconnected", () => {
console.log("User Disconnected");
});
});
io.on("connection", () => console.log("[Socket.IO] User connected."));
io.on("disconnected", () => console.log("[Socket.IO] User disconnected."));
server.listen(PORT, "0.0.0.0", () =>
console.log(`[APP] Application is running on http://localhost:${PORT}`),
);
rabbitmq.init(amqHandler).catch((e) => console.error(e));
// rabbitmq.init(amqHandler).catch((e) => console.error(e));