chore(web): 固定开发服务监听 localhost

This commit is contained in:
Script Generator
2026-07-03 09:43:46 +08:00
parent a509bb4922
commit 0d9e6fee29

View File

@@ -3,7 +3,7 @@
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "node scripts/clean-next-dev-cache.mjs && node --max-old-space-size=4096 node_modules/next/dist/bin/next dev --port 3000",
"dev": "node scripts/clean-next-dev-cache.mjs && node --max-old-space-size=4096 node_modules/next/dist/bin/next dev --hostname localhost --port 3000",
"build": "node --max-old-space-size=4096 node_modules/next/dist/bin/next build",
"start": "next start",
"lint": "next lint",