Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix table render error in env.md #619

Merged
merged 2 commits into from
Mar 22, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/source/zh-cn/basics/env.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ EGG_SERVER_ENV=prod npm start

框架默认支持的环境及映射关系(如果未指定 `EGG_SERVER_ENV` 会根据 `NODE_ENV` 来匹配)

NODE_ENV | EGG_SERVER_ENV | 说明
---------- | -------------- | ------------
| local | 本地开发环境
test | unittest | 单元测试
production | prod | 生产环境
| NODE_ENV | EGG_SERVER_ENV | 说明 |
| ---------- | -------------- | ------------ |
| | local | 本地开发环境 |
| test | unittest | 单元测试 |
| production | prod | 生产环境 |

例如,当 `NODE_ENV` 为 `production` 而 `EGG_SERVER_ENV` 未指定时,框架会将 `EGG_SERVER_ENV` 设置成 `prod`。

Expand Down