Edit Page

config/custom

This is your custom configuration file. It is useful for one-off settings specific to your application-- like your base URL for linkbacks, the no-reply "From" address to use when sending automated emails, or 3rd party API keys for Stripe, Mailgun, Twilio, etc.

Use sails.config.custom to access these values from your actions and helpers.

You can learn more about custom configuration here.

Want to see for yourself?

An example of this file can be found in our sample app repo, here.

Anatomy of a Sails App