We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca6bc07 commit 0c13f52Copy full SHA for 0c13f52
app.js
@@ -7,7 +7,7 @@ var express = require('express'),
7
routes = require('./routes'),
8
api = require('./routes/api');
9
10
-var app = module.exports = express.createServer();
+var app = module.exports = express();
11
12
// Configuration
13
@@ -46,5 +46,5 @@ app.get('*', routes.index);
46
// Start server
47
48
app.listen(3000, function(){
49
- console.log("Express server listening on port %d in %s mode", app.address().port, app.settings.env);
+ console.log("Server started");
50
});
0 commit comments