Permalink
Browse files

expose Picard.httpServer (usefull for using socket.io-node with Picard)

  • Loading branch information...
1 parent 8eac28e commit f991598b5cfd6c63bba3f1016cf48cd9428fea22 Tynt committed with Apr 20, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/picard/server.js
View
@@ -13,8 +13,8 @@ var Server = {
request
.on('data', request.extractFormParams)
.on('end', request.pass)
- }).
- listen(this.env.port)
+ })
+ this.httpServer.listen(this.env.port)
require('sys').puts('Starting in ' + this.env.mode + ' mode.\n' +
'Picard boldly goes on port ' + this.env.port + '...')

0 comments on commit f991598

Please sign in to comment.