This commit is contained in:
2026-07-01 11:26:37 +08:00
parent 617f1d4777
commit 9da57e9279
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -4,7 +4,6 @@
"private": true,
"scripts": {
"dev": "next dev",
"dev:lan": "next dev -H 0.0.0.0 -p 3000",
"build": "next build",
"build:deploy": "pnpm install && pnpm run build",
"start": "sh -c 'BRANCH=$(git branch --show-current); PORT=${PORT:-}; if [ -z \"$PORT\" ]; then if [ \"$BRANCH\" = \"main\" ]; then PORT=9185; else PORT=9135; fi; fi; next start -p \"$PORT\"'",