环境:增加监控服务器配置
部署:修改 pm2 启动相关文件
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user