Edit Page

Configuration (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.

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