The TypeScript-ready, minimal router and middleware layer for Next.js, Micro, Vercel, or Node.js http/http2
1.63k
stars
65
forks
source link
MongoError: MongoClient must be connected before calling MongoClient.prototype.db #114
Closed
IRediTOTO closed 3 years ago
Hi, I get this error MongoError: MongoClient must be connected before calling MongoClient.prototype.db
in my middleware database.js Have this code
I use it in
Everything fine but it crash on heroku, everything ran very well before... Did I do something wrong?