Permalink
Browse files

forward address() through

  • Loading branch information...
1 parent 888c506 commit 192149a75c4b96e53ca016fa5f1f272695d8b2b4 @substack committed Mar 31, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 index.js
View
@@ -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/'), '/');

0 comments on commit 192149a

Please sign in to comment.