部署文件上传,修改环境变量为development

This commit is contained in:
2026-07-06 20:15:41 +08:00
parent 04b0559fb8
commit b12ee13232
3 changed files with 10 additions and 2 deletions
+2 -1
View File
@@ -10,7 +10,8 @@ module.exports = {
instances: 1,
exec_mode: 'fork',
env: {
NODE_ENV: 'production',
// 预发/联调阶段用 development;正式上线后改回 production
NODE_ENV: 'development',
PORT: 8090,
},
},