sails.config
)The sails.config
object contains the runtime values of your app's configuration. It is assembled automatically when Sails loads your app; merging together command-line arguments, environment variables, your .sailsrc
file, and the configuration objects exported from any and all modules in your app's config/
directory.
For more general info about how to configure your Sails app, see the configuration concepts guide. See the other pages in this reference section for details on the configuration files that come with every new Sails app, or read about custom configuration.