添加监控配置;增加 mocha 并行依赖
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user