Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kbariotis committed May 12, 2015
1 parent 8734200 commit 2ccd22e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ var app = express();
var throwjs = require('throw.js');
var logger = require('winston');

app.get('/', function (req, res, next) {

next(new throwjs.notFound());

});

app.use(function(err, req, res, next) {

logger.error(err);
Expand All @@ -29,12 +35,6 @@ app.use(function(err, req, res, next) {

});

app.get('/', function (req, res, next) {

next(new throwjs.notFound());

});

var server = app.listen(3000, function () {

var host = server.address().address;
Expand Down

0 comments on commit 2ccd22e

Please sign in to comment.