social-xhs-api-server/ecosystem.config.mjs
2025-04-29 18:34:13 +08:00

14 lines
335 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const PORT = 5006;
module.exports = {
apps: [
{
name: 'xhs-api-server',
script: 'server.py', // 替换为您的Python脚本路径
interpreter: 'python', // 替换为您的Python解释器路径
env: {
XHS_API_PORT: PORT // 从环境变量获取端口不存在则使用5005
},
}
]
};