diff options
| author | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-24 03:10:00 +0000 |
|---|---|---|
| committer | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-24 03:10:00 +0000 |
| commit | 64d9ccb6ae21a12d6fbd61b371397d8d5f2e783f (patch) | |
| tree | 9ec795adc8b41cd9cf159d8e2e74aed0cf932e8d /app.js | |
| parent | 39afbefe2ea5b7a105c352049a4a4a171502e880 (diff) | |
need pull
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. |
