diff --git a/net/Router.js b/net/Router.js index 0d0675f..81e4264 100644 --- a/net/Router.js +++ b/net/Router.js @@ -20,6 +20,7 @@ class RelayPoint typeof internal !== 'undefined' ? internal : false ); + this.route = null; this.value = internal ? uri : stripURI( uri ); this.params = Array.prototype.slice.call( arguments, 2 ); } @@ -108,6 +109,7 @@ class Router extends EventEmitter setRoute( _route, _match ) { var _self = this; + this.relaying.route = _route; this.routeObj = { route: _route , match: _match