chore(web): 固定开发服务监听 localhost
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"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",
|
"build": "node --max-old-space-size=4096 node_modules/next/dist/bin/next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "next lint",
|
"lint": "next lint",
|
||||||
|
|||||||
Reference in New Issue
Block a user