This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #226 from lirantal/master
comment fixes, indentation and general cosmetic cleanup
- Loading branch information
Showing
6 changed files
with
74 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
'use strict'; | ||
|
||
// Utilize Lo-Dash utility library | ||
var _ = require('lodash'); | ||
|
||
// Load app configuration | ||
|
||
// Extend the base configuration in all.js with environment | ||
// specific configuration | ||
module.exports = _.extend( | ||
require(__dirname + '/../config/env/all.js'), | ||
require(__dirname + '/../config/env/' + process.env.NODE_ENV + '.js') || {}); | ||
require(__dirname + '/../config/env/' + process.env.NODE_ENV + '.js') || {} | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
'use strict'; | ||
|
||
var path = require('path'), | ||
rootPath = path.normalize(__dirname + '/../..'); | ||
var path = require('path'); | ||
var rootPath = path.normalize(__dirname + '/../..'); | ||
|
||
module.exports = { | ||
root: rootPath, | ||
port: process.env.PORT || 3000, | ||
db: process.env.MONGOHQ_URL | ||
db: process.env.MONGOHQ_URL, | ||
|
||
// The secret should be set to a non-guessable string that | ||
// is used to compute a session hash | ||
sessionSecret: 'MEAN', | ||
// The name of the MongoDB collection to store sessions in | ||
sessionCollection: 'sessions' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters