Merge commit '968e1d73eea43b60cd90b721ff2039def60fa146'
This commit is contained in:
@@ -18,7 +18,7 @@ Visit http://localhost:3000.
|
|||||||
npm run build
|
npm run build
|
||||||
npm start
|
npm start
|
||||||
```
|
```
|
||||||
The start command serves the production build. By default, it uses port 3000, but you can set the `PORT` environment variable to use a different port (e.g., `PORT=8080 npm start`).
|
The start command serves the production build. It binds to `0.0.0.0` and uses the `PORT` environment variable (default `8080`).
|
||||||
|
|
||||||
## Key routes
|
## Key routes
|
||||||
- `/` – docs homepage
|
- `/` – docs homepage
|
||||||
|
|||||||
7
package-lock.json
generated
7
package-lock.json
generated
@@ -22,12 +22,7 @@
|
|||||||
"typescript": "^5.9.3"
|
"typescript": "^5.9.3"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"build": "npm run generate:meta && docusaurus build",
|
"node": ">=20"
|
||||||
"dev": "docusaurus start",
|
|
||||||
"generate:meta": "node scripts/generateMeta.js",
|
|
||||||
"node": ">=20",
|
|
||||||
"serve": "npm run start",
|
|
||||||
"start": "node scripts/serve.js"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@babel/runtime": {
|
"node_modules/@babel/runtime": {
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start -H 0.0.0.0 -p ${PORT:-8080}",
|
"start": "next start -H 0.0.0.0 -p ${PORT:-8080}",
|
||||||
|
"start": "PORT=${PORT:-8080} HOST=0.0.0.0 next start -H $HOST -p $PORT",
|
||||||
"lint": "next lint"
|
"lint": "next lint"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|||||||
Reference in New Issue
Block a user