Update dev and start scripts to bind to all network interfaces

This commit is contained in:
luoyangwei
2026-06-13 18:49:03 +08:00
parent e69e178d44
commit 69b0f7348a
+2 -2
View File
@@ -3,9 +3,9 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "set -a && source .env.local && set +a && next dev", "dev": "set -a && source .env.local && set +a && next dev -H 0.0.0.0",
"build": "next build", "build": "next build",
"start": "set -a && source .env.production && set +a && next start", "start": "set -a && source .env.production && set +a && next start -H 0.0.0.0",
"lint": "eslint", "lint": "eslint",
"lint:fix": "eslint --fix", "lint:fix": "eslint --fix",
"sync:gallery": "node scripts/sync-gallery-photos.mjs", "sync:gallery": "node scripts/sync-gallery-photos.mjs",