Permalink
Browse files

allow listen on IP

  • Loading branch information...
1 parent f41e03c commit 65e6bdaace54b8598047f6ba28212d15626d6ce4 @bradleyg bradleyg committed Jul 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.js
View
@@ -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 65e6bda

Please sign in to comment.