From 415574021e5b9814190fe088b7330ea06c6044e5 Mon Sep 17 00:00:00 2001 From: Techwraith Date: Wed, 7 Mar 2012 00:27:35 -0800 Subject: [PATCH] Do the right thing with qs params --- lib/app.js | 2 +- lib/routers/regexp_router.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/app.js b/lib/app.js index 3cad963a..79c80a46 100644 --- a/lib/app.js +++ b/lib/app.js @@ -18,7 +18,7 @@ var fs = require('fs') , url = require('url') - , querystring = require('qs') + , querystring = require('../deps/qs') , path = require('path') , cwd = process.cwd() , errors = require('./errors') diff --git a/lib/routers/regexp_router.js b/lib/routers/regexp_router.js index d6a667ac..55098e0e 100644 --- a/lib/routers/regexp_router.js +++ b/lib/routers/regexp_router.js @@ -225,7 +225,7 @@ var Router = function () { /* // build the possibly empty query string - var qs = require('qs').stringify(url[1]); + var qs = require('../../deps/qs').stringify(url[1]); // if there is a query string... if (qs.length > 0) {