Skip to content
Snippets Groups Projects
Commit 460525cc authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

remove debug log

parent ec6aa4d1
No related branches found
No related tags found
No related merge requests found
......@@ -727,9 +727,7 @@ app.get('/channels/:id', (req, res) => {
res.send(client.channels.cache.get(id));
})
app.get('/mc/chat/:detail', (req, res) => {
console.log(req.headers);
var detail = JSON.parse(decodeURI(req.params.detail));
console.log(req.headers['server-type']);
sendMessageFromMcChat(detail.username, detail.message, req.headers['server-type']);
res.send("Envoyé!")
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment