浏览代码

change api doc

maguohua 8 年之前
父节点
当前提交
922902c05f
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      config/production.js
  2. 2 2
      package.json

+ 1 - 1
config/production.js

@@ -1,5 +1,5 @@
 'use strict';
 
 module.exports = {
-	url: 'mongodb://localhost:27017/elm'
+	
 }

+ 2 - 2
package.json

@@ -7,7 +7,7 @@
     "dev": "NODE_ENV=development supervisor --harmony index.js",
     "test": "echo \"Error: no test specified\" && exit 1",
     "start": "NODE_ENV=production pm2 start index.js --node-args='--harmony' --name 'node-elm'",
-    "stop": "NODE_ENV=production pm2 stop index.js --node-args='--harmony' --name 'node-elm'",
+    "stop": "NODE_ENV=production pm2 stop index.js --name 'node-elm'",
     "restart": "NODE_ENV=production pm2 restart index.js --node-args='--harmony' --name 'node-elm'"
   },
   "repository": {
@@ -38,7 +38,7 @@
     "mongoose": "^4.9.3",
     "node-fetch": "^1.6.3",
     "pinyin": "^2.8.3",
-    "pm2": "^2.4.3",
+    "pm2": "^2.4.6",
     "sha1": "^1.1.1",
     "supervisor": "^0.12.0",
     "winston": "^2.3.1"