Permalink
Browse files

Merge branch 'master' of github.com:clover/require

  • Loading branch information...
marcuswestin committed Apr 5, 2012
2 parents 941f031 + 9f51ca5 commit 5ed029d23fdcc95f6c4e4d31c41453a23d10eac2
Showing with 1 addition and 0 deletions.
  1. +1 −0 server.js
View
@@ -32,6 +32,7 @@ function addFile() {
function listen(port, _opts) {
if (!_opts) { _opts = { port:port }}
+ else if(port) { _opts.port= port }
setOpts(_opts)
opts.handleAllRequests = true
var server = http.createServer()

0 comments on commit 5ed029d

Please sign in to comment.