aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
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.