aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorHumairAK <humair88@hotmail.com>2016-07-24 04:09:20 +0000
committerHumairAK <humair88@hotmail.com>2016-07-24 04:09:20 +0000
commit2a3f37903f693cd5af13dbf8dd7df3d0f4e19ee0 (patch)
tree6d88260f53dd867d34238cf07a2710d99c62dfd0 /app.js
parent807eb06e57ba4454bdba32493ae603ef9c2c45a1 (diff)
parent59cf16ee546111c186e36dc723a60de49cf25001 (diff)
Merge branch 'master' of https://github.com/HumairAK/solutions_repo
Diffstat (limited to 'app.js')
-rw-r--r--app.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/app.js b/app.js
index 5d09142..f629d2f 100644
--- a/app.js
+++ b/app.js
@@ -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.