We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 250df20 + 8e3264b commit fc44897Copy full SHA for fc44897
4 files changed
app.js
@@ -11,6 +11,8 @@ app.use(express.static(__dirname + '/app/public')); // Public folder containing
11
12
require('./app/routes')(app); // Routes are imported
13
14
-http.createServer(app).listen(app.get('port'), function(){
+const server = http.createServer(app).listen(app.get('port'), function(){
15
console.log('The application is running on port ' + app.get('port'));
16
}); // Http server is created
17
+
18
+module.exports = server;
0 commit comments