diff options
| author | kumar <kumar.damani@mail.utoronto.ca> | 2016-07-24 03:33:02 +0000 |
|---|---|---|
| committer | kumar <kumar.damani@mail.utoronto.ca> | 2016-07-24 03:33:02 +0000 |
| commit | 59cf16ee546111c186e36dc723a60de49cf25001 (patch) | |
| tree | 7f65205035f5a4d4e6fe47c701097ebc6b2abe01 /app.js | |
| parent | cbcf2f83d7a11895deeb1234504dd767d8826d4d (diff) | |
| parent | 43f7514bb2ae00d3805f1468f89bbdab6fc595fa (diff) | |
pull
Merge branch 'master' of https://github.com/HumairAK/solutions_repo
Diffstat (limited to 'app.js')
| -rw-r--r-- | app.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -16,7 +16,9 @@ var MongoStore = require('connect-mongo') (session); //for storing sessions in d var routes = require('./routes/index'); var userRoutes = require('./routes/user'); var adminRoutes = require('./routes/admin'); -var app = express(); + +var exports = module.exports = {}; +var app = exports.app = express(); // Templating engine, we are using handlebars // This will allow us to create html pages dynamically before serving them. |
