Skip to content

Commit

Permalink
forward address() through
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Mar 31, 2013
1 parent 888c506 commit 192149a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Expand Up @@ -167,6 +167,10 @@ Ploy.prototype.listen = function () {
return this.bouncer.listen.apply(this.bouncer, arguments);
};

Ploy.prototype.address = function () {
return this.bouncer.address.apply(this.bouncer, arguments);
};

Ploy.prototype.handle = function (req, res) {
if (RegExp('^/_ploy/[^?]+\\.git\\b').test(req.url)) {
req.url = req.url.replace(RegExp('^/_ploy/'), '/');
Expand Down

0 comments on commit 192149a

Please sign in to comment.