const httpServer = createServer(app); const io = new Server( httpServer,{ cors:{ origin: process.env.NODE_ENV !== 'production' ? true : ['<http://13.124.233.17>', '<https://13.124.233.17>'], }} );