diff --git a/docs/source/en/core/deployment.md b/docs/source/en/core/deployment.md index 803c20c1f0..c0f4354d05 100644 --- a/docs/source/en/core/deployment.md +++ b/docs/source/en/core/deployment.md @@ -65,7 +65,7 @@ Arguments of dispatch can be configured in `config.{env}.js`. // config/config.default.js exports.cluster = { listen: { - port: '7001', + port: 7001, hostname: '127.0.0.1', // path: '/var/run/egg.sock', } diff --git a/docs/source/zh-cn/core/deployment.md b/docs/source/zh-cn/core/deployment.md index 98b731bab7..8b00673c05 100644 --- a/docs/source/zh-cn/core/deployment.md +++ b/docs/source/zh-cn/core/deployment.md @@ -76,7 +76,7 @@ $ egg-scripts start --port=7001 --daemon --title=egg-server-showcase // config/config.default.js exports.cluster = { listen: { - port: '7001', + port: 7001, hostname: '127.0.0.1', // path: '/var/run/egg.sock', }