Edit Page

sails.config.custom

The runtime values of your app's custom configuration settings.

Usage

#
sails.config.custom;

Example

#

In an action or helper:

sails.config.custom.mailgunApiKey;
// -> "key-testkeyb183848139913858e8abd9a3"

Notes

#

Is something missing?

If you notice something we've missed or could be improved on, please follow this link and submit a pull request to the sails repo. Once we merge it, the changes will be reflected on the website the next time it is deployed.

Reference

Reference