Skip to content

Commit

Permalink
fixed table render error in env.md (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
SF-Zhou authored and dead-horse committed Mar 22, 2017
1 parent e9428ba commit 990d45e
Showing 1 changed file with 5 additions and 5 deletions.
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

0 comments on commit 990d45e

Please sign in to comment.