mirror of
https://github.com/wassname/talk.git
synced 2026-07-31 12:50:48 +08:00
lint
This commit is contained in:
+2
-1
@@ -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
@@ -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!');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user