diff --git a/.env b/.env index 7ac608c..3ee61b6 100644 --- a/.env +++ b/.env @@ -5,4 +5,4 @@ JWT_SECRET=gdyc-super-secrets-jjwtt-key-change-this-in-production-20250721-from- # 交叉评查专属模式 # 设置为 true 时,端口51707只显示交叉评查入口,隐藏其他模块(上线模式) # 设置为 false 时,保持正常模式显示所有模块(测试/开发模式) -CROSS_CHECKING_ONLY_MODE=true \ No newline at end of file +CROSS_CHECKING_ONLY_MODE=false \ No newline at end of file diff --git a/ecosystem.config.cjs b/ecosystem.config.cjs index a732bf4..ccaad9b 100644 --- a/ecosystem.config.cjs +++ b/ecosystem.config.cjs @@ -15,7 +15,7 @@ module.exports = { instances: 1, autorestart: true, watch: false, - max_memory_restart: '1G', + max_memory_restart: '4G', env: { NODE_ENV: 'production', PORT: 51703, @@ -45,7 +45,7 @@ module.exports = { instances: 1, autorestart: true, watch: false, - max_memory_restart: '1G', + max_memory_restart: '2G', env: { NODE_ENV: 'production', PORT: 51704, @@ -74,7 +74,7 @@ module.exports = { instances: 1, autorestart: true, watch: false, - max_memory_restart: '1G', + max_memory_restart: '2G', env: { NODE_ENV: 'production', PORT: 51705, @@ -103,7 +103,7 @@ module.exports = { instances: 1, autorestart: true, watch: false, - max_memory_restart: '1G', + max_memory_restart: '2G', env: { NODE_ENV: 'production', PORT: 51706, @@ -132,7 +132,7 @@ module.exports = { instances: 1, autorestart: true, watch: false, - max_memory_restart: '1G', + max_memory_restart: '2G', env: { NODE_ENV: 'production', PORT: 51707, @@ -164,7 +164,7 @@ module.exports = { // instances: 1, // autorestart: true, // watch: false, - // max_memory_restart: '1G', + // max_memory_restart: '2G', // env: { // NODE_ENV: 'production', // PORT: 51708, diff --git a/tsconfig.json b/tsconfig.json index 9d87dd3..b063100 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,7 +9,7 @@ ], "compilerOptions": { "lib": ["DOM", "DOM.Iterable", "ES2022"], - "types": ["@remix-run/node", "vite/client"], + "types": ["@remix-run/node", "vite/client", "@types/react", "@types/react-dom"], "isolatedModules": true, "esModuleInterop": true, "jsx": "react-jsx",