chore(app): add lan dev script
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
"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\"'",
|
||||
|
||||
Reference in New Issue
Block a user