Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use new express api calls.

  • Loading branch information...
commit dcf97ab49660b87d296afd4bddd9cbd09e73d6d8 1 parent 4467a16
Ram Ranganathan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  server.js
2  server.js
View
@@ -132,7 +132,7 @@ var SampleApp = function() {
*/
self.initializeServer = function() {
self.createRoutes();
- self.app = express.createServer();
+ self.app = express();
// Add handlers for the app (from the routes).
for (var r in self.routes) {
Please sign in to comment.
Something went wrong with that request. Please try again.