Permalink
Browse files

createServer() is deprecated.

  • Loading branch information...
1 parent d21ad0b commit 6bc17589fad4c0547e7f7f8f8e1d8bda2e14b402 Eric Elliott committed Oct 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 server.js
View
@@ -1,5 +1,5 @@
var express = require("express"),
- app = express.createServer(),
+ app = express(),
port = parseInt(process.env.PORT, 10) || 4567;
app.get("/", function(req, res) {

0 comments on commit 6bc1758

Please sign in to comment.