diff --git a/lib/request.js b/lib/request.js index cb7dcda..3e0956a 100644 --- a/lib/request.js +++ b/lib/request.js @@ -154,6 +154,7 @@ module.exports = { */ get querystring() { + if (!this.req) return ''; return parse(this.req).query || ''; },