Provides access to a capsule's configuration. This includes both values defined in the capsule.properties
file and values defined in the Config & Secrets screen.
var config = require('config');
Look up a property value in the capsule's current configuration mode
Kind: Static method of config
Returns: String
- The value of the property in the current configuration mode, or undefined if no property value is set
Access: Public
Parameter | Type | Description |
---|---|---|
property | String | The property key |