mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 13:00:44 +08:00
fix(scripts): set web port 8505 and require Node 20+
Change Linux default web port to 8505, add NODE_CMD/NPM_CMD support with version check, and declare Node 20.19+ in web/package.json engines. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
823a5819f7
commit
f2d686eba8
3 changed files with 73 additions and 12 deletions
|
|
@ -10,7 +10,7 @@ Usage: ./scripts/stop_netx.sh [options]
|
|||
|
||||
Options:
|
||||
--port <port> API port to stop by port scan. Default: 8890
|
||||
--web-port <port> Web port to stop by port scan. Default: 8055
|
||||
--web-port <port> Web port to stop by port scan. Default: 8505
|
||||
--force Use SIGKILL (immediate)
|
||||
-h, --help Show help
|
||||
EOF
|
||||
|
|
@ -23,7 +23,7 @@ PID_FILE="${RUN_DIR}/netx.pid"
|
|||
WEB_PID_FILE="${RUN_DIR}/web.pid"
|
||||
|
||||
API_PORT="8890"
|
||||
WEB_PORT="8055"
|
||||
WEB_PORT="8505"
|
||||
FORCE="0"
|
||||
|
||||
while [[ $# -gt 0 ]]; do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue