I have recently deployed a NextJS app to production and it's failing to connect to my database. In development mode it works just fine.
CodePudding user response:
You have to correctly set your security parameters.
For Atlas to work with Vercel you need to set Network Access > ip whitelist > *.