Skip to content

Commit

Permalink
Remove warning about express.createServer deprecation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Richter authored and Andreas Richter committed Aug 6, 2012
1 parent 6d7f7b9 commit f6b2210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ var path = rootpath,
function bootApplication(next) {

// Create our express instance, export for later reference
var app = express.createServer ? express.createServer() : express();
var app = express();
app.path = function() { return path };
app.isCluster = false;

Expand Down

0 comments on commit f6b2210

Please sign in to comment.