Skip to content

Commit 8fd9840

Browse files
committed
Went back to default
1 parent f4aabd7 commit 8fd9840

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

database/db.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@ mongoose.Promise = global.Promise
66
mongoose.connect(process.env.DB_HOST).then(function (e){
77
console.log('Connected to MongoDB! 😃🔥')
88
}).catch(function (e){
9-
console.error(
10-
'Failed to connect to MongoDB 😕💥 \nCheck your DB_HOST environment variable then restart the server'
11-
)
9+
console.error('Failed to connect to MongoDB 😕💥 ')
1210
})

0 commit comments

Comments
 (0)