添加监控配置;增加 mocha 并行依赖

This commit is contained in:
liangtongchuan
2021-07-29 18:28:00 +08:00
parent b4dcfbbc21
commit ed65f7bb09
2 changed files with 8 additions and 1 deletions

View File

@@ -34,7 +34,6 @@
"crc": "^3.5.0",
"cross-env": "^7.0.3",
"local": "^0.3.3",
"mocha": "^8.2.1",
"moment": "^2.29.1",
"mongoose": "^5.10.4",
"mongoose-lean-getters": "^0.1.2",
@@ -57,6 +56,8 @@
},
"devDependencies": {
"@types/node-schedule": "^1.3.1",
"mocha": "^8.3.2",
"mocha-parallel-tests": "^2.3.0",
"tslint": "^5.9.1",
"typescript": "^3.9.7"
}

View File

@@ -39,6 +39,12 @@ export default (appInfo: EggAppInfo) => {
'.html': 'nunjucks' //左边写成.html后缀会自动渲染.html文件
},
};
exports.xtransit = {
server: 'ws://127.0.0.1:9092',
appId: 3,
appSecret: 'a48ad5ca44e2d02cbd7f4c0326fa3101'
};
config.decodeParm = true;