Files
sohub/config/application.js
T
2013-07-19 00:00:24 +08:00

30 lines
643 B
JavaScript

module.exports = {
// Name of the application (used as default <title>)
appName: "Sohub",
// Port this Sails application will live on
port: process.env.PORT || 1337,
// The environment the app is deployed in
// (`development` or `production`)
//
// In `production` mode, all css and js are bundled up and minified
// And your views and templates are cached in-memory. Gzip is also used.
// The downside? Harder to debug, and the server takes longer to start.
environment: 'development',
// Logger
// Valid `level` configs:
//
// - error
// - warn
// - debug
// - info
// - verbose
//
log: {
level: 'info'
}
};