Core
Framework v2.x
2

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

ArgumentTypeDescription
path
string
Path to the configuration key (lodash style)
value
any
Value for the configuration key

Usage #

app.config.set('limits.documentsWriteCount', 1000)