I have the code below, they work fine as expected in development but not in production.
app.post(\'/login\', function(req, res){ const user = new User({