const express = require('express');
const app = express();
const http = require('http').Server(app);
const io = require('socket.io')(http);
const port = process.env.PORT || 3000;

app.use(express.static('public'));

function onConnection(socket){
  socket.on('drawing', (data) => socket.broadcast.emit('drawing', data));
  socket.on('setting', (data) => socket.broadcast.emit('setting', data));
  console.log()
}

io.on('connection', onConnection);

http.listen(port, () => console.log('listening on port ' + port));

@@ -392,24 +392,8 @@
 ));%0A
-  console.log()%0A
 %7D%0A%0Ai

Remove console log