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