opti: npm run server to npm run start

This commit is contained in:
suxiaoxin 2017-09-26 17:16:50 +08:00
parent 1fd7ef7781
commit 9e30916081
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
"install-server": " node server/install.js",
"dev-client": "ykit s -p 4000",
"dev": "npm run dev-server & npm run dev-client",
"server": " node server/app.js"
"start": " node server/app.js"
},
"repository": {
"type": "git",

View File

@ -14,7 +14,7 @@ const WEBCONFIG = config;
fs.ensureDirSync(WEBROOT_LOG);
if (WEBCONFIG.mail) {
if (WEBCONFIG.mail && WEBCONFIG.mail.enable ) {
mail = nodemailer.createTransport(WEBCONFIG.mail);
}