diff --git a/ecosystem.config.js b/ecosystem.config.js index c5b7b6698..16dca32d5 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -5,6 +5,8 @@ module.exports = { args : "start", env : { PORT : 23000 - } + }, + autorestart: true, + interpreter: '/bin/bash', }] } diff --git a/next.config.mjs b/next.config.mjs index a976454c0..fe8cc0f2c 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -86,7 +86,11 @@ const nextConfig = { }, experimental: { forceSwcTransforms: true, - serverComponentsExternalPackages: ["tiktoken"] + serverComponentsExternalPackages: ["tiktoken"], + // 加速跟踪依赖项 + // turbotrace: { + // logDetail: true, + // }, }, // externals: { // 'sharp': 'commonjs sharp'