diff --git a/server/config/config.js b/server/config/config.js index 2cf0c1a..714ce15 100644 --- a/server/config/config.js +++ b/server/config/config.js @@ -17,7 +17,7 @@ let urlDB; if (process.env.NODE_ENV == 'dev') { urlDB = 'mongodb://localhost:27017/cafe' } else { - urlDB = 'mongodb+srv://rjvelazco:oRh5xMmsedWVImwO@cluster0.u7v4j.mongodb.net/cafe' + urlDB = process.env.MONGO_URI; } process.env.URLDB = urlDB; \ No newline at end of file