Closed pavelbinar closed 9 years ago
express.createServer() is deprecated, express applications no longer inherit from http.Server. please use
var express = require("express");
var app = express();
Express 4.x example is here: https://github.com/passport/express-4.x-http-bearer-example
I think it is because if new version of Express.js and its new way is creating and configuring server.