diff --git a/index.js b/index.js index c783844..d7a1be7 100644 --- a/index.js +++ b/index.js @@ -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/'), '/');