Skip to content

Commit

Permalink
docs(sequelize): hostname shoule be host (#2921)
Browse files Browse the repository at this point in the history
  • Loading branch information
huowenxuan authored and dead-horse committed Aug 21, 2018
1 parent 72cd808 commit 289e962
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/source/en/tutorials/sequelize.md
Expand Up @@ -46,7 +46,7 @@ exports.sequelize = {
```js
config.sequelize = {
dialect: 'mysql',
hostname: '127.0.0.1',
host: '127.0.0.1',
port: 3306,
database: 'egg-sequelize-doc-default',
};
Expand All @@ -57,7 +57,7 @@ We can configure different data source addresses in different environment config
```js
exports.sequelize = {
dialect: 'mysql',
hostname: '127.0.0.1',
host: '127.0.0.1',
port: 3306,
database: 'egg-sequelize-doc-unittest',
};
Expand Down
4 changes: 2 additions & 2 deletions docs/source/zh-cn/tutorials/sequelize.md
Expand Up @@ -46,7 +46,7 @@ exports.sequelize = {
```js
config.sequelize = {
dialect: 'mysql',
hostname: '127.0.0.1',
host: '127.0.0.1',
port: 3306,
database: 'egg-sequelize-doc-default',
};
Expand All @@ -57,7 +57,7 @@ config.sequelize = {
```js
exports.sequelize = {
dialect: 'mysql',
hostname: '127.0.0.1',
host: '127.0.0.1',
port: 3306,
database: 'egg-sequelize-doc-unittest',
};
Expand Down

0 comments on commit 289e962

Please sign in to comment.