updated in readme the default config
This commit is contained in:
parent
9e36419537
commit
8748be1bb8
1 changed files with 2 additions and 1 deletions
|
@ -75,7 +75,8 @@ import { HttpModule } from 'nestjs-http-promise'
|
||||||
```
|
```
|
||||||
|
|
||||||
### default configuration
|
### default configuration
|
||||||
just the default config of axios-retry : https://github.com/softonic/axios-retry#options
|
* default config of axios-retry : https://github.com/softonic/axios-retry#options
|
||||||
|
* better axios stack trace is added by default, you can turn it off by passing the **isBetterStackTraceEnabled** to false.
|
||||||
|
|
||||||
## async configuration
|
## async configuration
|
||||||
When you need to pass module options asynchronously instead of statically, use the `registerAsync()` method **just like in nest httpModule**.
|
When you need to pass module options asynchronously instead of statically, use the `registerAsync()` method **just like in nest httpModule**.
|
||||||
|
|
Loading…
Reference in a new issue