Skip to content

Commit

Permalink
docs (sequelize): Changed config.sequelize to exports.sequelize i…
Browse files Browse the repository at this point in the history
…n configuration part (#4873)
  • Loading branch information
xsjcTony committed Feb 11, 2022
1 parent 20842f9 commit 56816db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/en/tutorials/sequelize.md
Expand Up @@ -44,7 +44,7 @@ exports.sequelize = {
- Write the sequelize configuration in `config/config.default.js`

```js
config.sequelize = {
exports.sequelize = {
dialect: 'mysql',
host: '127.0.0.1',
port: 3306,
Expand Down
2 changes: 1 addition & 1 deletion docs/source/zh-cn/tutorials/sequelize.md
Expand Up @@ -44,7 +44,7 @@ exports.sequelize = {
-`config/config.default.js` 中编写 sequelize 配置

```js
config.sequelize = {
exports.sequelize = {
dialect: 'mysql',
host: '127.0.0.1',
port: 3306,
Expand Down

0 comments on commit 56816db

Please sign in to comment.