Closed vmlinz closed 8 years ago
After reading the source code of index.js,
The real cause of the issue might be the name change of mlab mongodb env name from MONGOLAB_URL to MONGODB_URL.
Reference:
https://devcenter.heroku.com/articles/mongolab#getting-your-connection-uri
Br, Nick
Cause:
When deploying to heroku, mongodb env of mlab is named MONGODB_URI, but the parse server expects url from DATABASE_URI. So users will encounter error access to mongodb from localhost of heroku app, this makes client not able to read or write any data.
Solution:
Br, Nick