set() #
Deprecated since 2.17.0
Sets a configuration value.
This method can only be used before the application is started.
set(path: string, value: any): void| Argument | Type | Description |
|---|---|---|
path | string | Path to the configuration key (lodash style) |
value | any | Value for the configuration key |
Usage #
app.config.set('limits.documentsWriteCount', 1000)