Sunday, 1 October 2017

MongoLab database not updating when Express app is deployed on Heroku

Hi all,I have a peculiar problem plaguing me at the moment: when I run my Express app locally, I can upload to my MongoLab database and see my new uploaded data as expected. However, when I pushed my Express app to Heroku, my MongoLab database isn't getting the data. Strangely enough, my GET requests retrieve my database data just fine both locally and on Heroku. Anyone have some insight as to what could be causing this issue? I've tried setting my MONGOLAB_URI to my database but the issue still hasn't been resolved.

Submitted October 02, 2017 at 03:37AM by chzits

No comments:

Post a Comment