Edit Page

config/local.js

This file is used to specify configuration settings for use while developing the app on your personal system.

For more information, check out Concepts > Configuration > The local.js file

Since config/local.js is usually used to store sensitive credentials, it is included in your app's .gitignore, and isn't pushed to the remote server. If you click the link to this file below, you should see a 404 page; in this case, that's a good thing!

Want to see for yourself?

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

Anatomy of a Sails App