This commit is contained in:
Belen Curcio
2016-11-01 12:18:00 -03:00
parent 2a1ee46026
commit aa2b2d498f
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -4,7 +4,8 @@
"description": "A commenting platform from The Coral Project. https://coralproject.net",
"main": "./server/bin/www",
"scripts": {
"start": "./server/bin/www"
"start": "./server/bin/www",
"lint": "eslint ."
},
"repository": {
"type": "git",
+1 -1
View File
@@ -9,7 +9,7 @@ if (enabled('talk:db')) {
}
try {
mongoose.connect(process.env.TALK_MONGO_URL, (err, res) => {
mongoose.connect(process.env.TALK_MONGO_URL, (err) => {
if (err) throw err;
console.log('Connected to MongoDB!');
});