extract QueryString

This commit is contained in:
2015-05-30 20:07:42 +08:00
parent 6661c425be
commit 4b6d913ef9
2 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ var Router = function( http )
this.routeObj = {};
this.reRoute = false;
this.relaying = new RelayPoint( http.request.raw.url );
this.relaying = new RelayPoint( http.request.raw.url.split( "?" )[0] );
};
util.inherits( Router, events.EventEmitter );