Skip to content

Commit 71bf323

Browse files
final commit after deploy to heroku
1 parent 36c2aa8 commit 71bf323

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ mongoose.connect(url, { useNewUrlParser: true, useUnifiedTopology: true });
2828
var db = mongoose.connection;
2929
db.on('error', console.error.bind(console, 'connection error:'));
3030
db.once('open', function () {
31-
console.log('MONGODB CONNECTEDD');
31+
console.log('MONGODB CONNECTED');
3232
});
3333

3434
app.use(express.static('build'));
@@ -65,5 +65,5 @@ app.delete('/notes/:id', function (req, res) {
6565

6666
app.listen(port, function () {
6767
console.log('server started at :', port);
68-
console.log('mongo URL',url);
68+
// console.log('mongo URL',url);
6969
});

0 commit comments

Comments
 (0)