fix
This commit is contained in:
1 parent
ff53534c08
commit
638e98b0e9
2 files changed
+3
-2
No files matched your search
@@ -1,5 +1,5 @@
|
|||||||
const PORT = 5006;
|
const PORT = 5006;
|
||||||
export default {
|
module.exports = {
|
||||||
apps: [
|
apps: [
|
||||||
{
|
{
|
||||||
name: 'xhs-api-server',
|
name: 'xhs-api-server',
|
||||||
+2
-1
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user