Skip to content

Commit

Permalink
Fixed deprecated express.createServer() call
Browse files Browse the repository at this point in the history
  • Loading branch information
FajitaNachos committed Feb 16, 2013
1 parent a36f5b2 commit 095e852
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions server.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
var url = require('url'),
http = require('http'),
https = require('https'),
fs = require('fs'),
app = require('express').createServer(),
qs = require('querystring');
var url = require('url'),
http = require('http'),
https = require('https'),
fs = require('fs'),
qs = require('querystring'),
express = require('express'),
app = express();

// Load config defaults from JSON file.
// Environment variables override defaults.
Expand Down

0 comments on commit 095e852

Please sign in to comment.