环境:增加监控服务器配置

部署:修改 pm2 启动相关文件
This commit is contained in:
liangtongchuan
2021-04-20 14:57:52 +08:00
parent fb52dfbfda
commit 011335ff1f
14 changed files with 337 additions and 5 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
require('xprofiler').start();
import { COM_TEAM_STATUS } from './app/consts';
import {
createTcpAcceptor,
@@ -38,7 +39,7 @@ filePath.CONFIG_DIR = '/config';
const adminfilePath = _pinus.DEFAULT_ADMIN_PATH;
adminfilePath.ADMIN_FILENAME = 'adminUser';
adminfilePath.ADMIN_USER = 'config/adminUser';
const ALL_ENVS = 'production|development|alpha|dev|isbn';
const ALL_ENVS = 'production|development|alpha|dev|isbn|monitor';
/**
* 替换全局Promise
* 自动解析sourcemap