This commit is contained in:
熊潇 2025-04-29 18:42:09 +08:00
parent ff53534c08
commit 638e98b0e9
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
const PORT = 5006;
export default {
module.exports = {
apps: [
{
name: 'xhs-api-server',

View File

@ -3,6 +3,7 @@
"type": "module",
"scripts": {
"pm2": "pm2 start ecosystem.config.mjs",
"start": "pm2 start --name xhs-api-server --interpreter python3 --env XHS_API_PORT=5006 -- server.py "
"start": "pm2 start --name xhs-api-server --interpreter python3 --env XHS_API_PORT=5006 -- server.py ",
"py": "XHS_API_PORT=5006 python server.py"
}
}