Skip to content
Browse files

Merge pull request #3 from bradleyg/master

Allow listen on IP address.
  • Loading branch information...
2 parents f967f24 + 65e6bda commit 25673aec961092a7fb6f4274471a705057116401 @twentyrogersc committed Jul 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.js
View
4 index.js
@@ -107,8 +107,8 @@ var addRoute = function(method, route, cb) {
})._paramsIds
}
-app.listen = function(port) {
- http.createServer(server).listen(port)
+app.listen = function(port, address) {
+ http.createServer(server).listen(port, address)
return app
}

0 comments on commit 25673ae

Please sign in to comment.
Something went wrong with that request. Please try again.