Back to Sails

config/custom

docs/anatomy/config/custom.js.md

12.12.2000622 B
Original Source

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.

<docmeta name="displayName" value="custom.js">