Skip to content

Commit

Permalink
docs: update README.md typo (#399)
Browse files Browse the repository at this point in the history
fix a typo
  • Loading branch information
iyudincev committed Mar 7, 2021
1 parent 45470b2 commit 70a77c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ By default, `connect-mongo` uses MongoDB's TTL collection feature (2.2+) to have

```js
app.use(session({
store: MongoStore.craete({
store: MongoStore.create({
mongoUrl: 'mongodb://localhost/test-app',
autoRemove: 'native' // Default
})
Expand All @@ -174,7 +174,7 @@ In some cases you can't or don't want to create a TTL index, e.g. Azure Cosmos D

```js
app.use(session({
store: MongoStore.craete({
store: MongoStore.create({
mongoUrl: 'mongodb://localhost/test-app',
autoRemove: 'interval',
autoRemoveInterval: 10 // In minutes. Default
Expand All @@ -188,7 +188,7 @@ You are in production environnement and/or you manage the TTL index elsewhere.

```js
app.use(session({
store: MongoStore.craete({
store: MongoStore.create({
mongoUrl: 'mongodb://localhost/test-app',
autoRemove: 'disabled'
})
Expand Down

0 comments on commit 70a77c0

Please sign in to comment.