From 87686f4e5e68b037087a0f157d299730b60b32cf Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 4 Dec 2015 09:57:52 +0000 Subject: [PATCH] whitespace --- lib/package-server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/package-server.js b/lib/package-server.js index 9af69a6..5763b48 100644 --- a/lib/package-server.js +++ b/lib/package-server.js @@ -175,7 +175,7 @@ function getApi(pkgConf, pkgDeps, packagedApi) { packagedApi._api.use('/', function (req, res, next) { var priorUrl = req.url; req.url = '/api' + req.url.slice(('/api/' + packagedApi.id).length); - //console.log('api mangle 3:', req.url); + // console.log('api mangle 3:', req.url); packagedApi._api_app(req, res, function (err) { req.url = priorUrl; next(err); @@ -185,6 +185,7 @@ function getApi(pkgConf, pkgDeps, packagedApi) { // /api/com.example.foo => / packagedApi._api.use('/api/' + packagedApi.id, function (req, res, next) { // console.log('api mangle 2:', '/api/' + packagedApi.id, req.url); + // console.log(packagedApi._api_app.toString()); packagedApi._api_app(req, res, next); });