chore(README, defaultConfig): add defaultConfig to README
This commit is contained in:
parent
1a87621ce9
commit
ca6298d6f4
@ -27,7 +27,8 @@ associations(models); // pretend this function defines our associations
|
|||||||
await register({
|
await register({
|
||||||
register: require('hapi-sequelize-crud'),
|
register: require('hapi-sequelize-crud'),
|
||||||
options: {
|
options: {
|
||||||
prefix: '/v1'
|
prefix: '/v1',
|
||||||
|
defaultConfig: { ... } // passed as `config` to all routes created
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user