Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

createServer() is deprecated.

  • Loading branch information...
commit 6bc17589fad4c0547e7f7f8f8e1d8bda2e14b402 1 parent d21ad0b
@ericelliott ericelliott authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  server.js
View
2  server.js
@@ -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) {
Please sign in to comment.
Something went wrong with that request. Please try again.