mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-11-22 12:41:21 +00:00
commit
52e7cef7ef
1 changed files with 2 additions and 2 deletions
|
@ -156,7 +156,7 @@ All of which are optional except `type` with very logical default values.
|
||||||
|
|
||||||
### MongoDB
|
### MongoDB
|
||||||
|
|
||||||
To use mongodb storage you must install the 'mongodb' pachage in npm
|
To use mongodb storage you must install the 'mongodb' package in npm
|
||||||
|
|
||||||
`npm install mongodb`
|
`npm install mongodb`
|
||||||
|
|
||||||
|
@ -164,7 +164,7 @@ Once you've done that, your config section should look like:
|
||||||
|
|
||||||
``` json
|
``` json
|
||||||
{
|
{
|
||||||
"type": "mongodb",
|
"type": "mongo",
|
||||||
"connectionUrl": "mongodb://localhost:27017/database"
|
"connectionUrl": "mongodb://localhost:27017/database"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue