fix
This commit is contained in:
parent
ff53534c08
commit
638e98b0e9
@ -1,5 +1,5 @@
|
|||||||
const PORT = 5006;
|
const PORT = 5006;
|
||||||
export default {
|
module.exports = {
|
||||||
apps: [
|
apps: [
|
||||||
{
|
{
|
||||||
name: 'xhs-api-server',
|
name: 'xhs-api-server',
|
@ -3,6 +3,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"pm2": "pm2 start ecosystem.config.mjs",
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user