Socket Io New Server Múltiplas origens

const io = new Server(PORT, {
  cors: {
    origin: ['...', '...'],
    ...
  }
 }
 
// Documentation
// https://github.com/expressjs/cors#configuration-options
florinrelea