Skip to content

Commit

Permalink
removed commented section and logging output
Browse files Browse the repository at this point in the history
  • Loading branch information
pgte committed Mar 28, 2012
1 parent 4352f0d commit 7c54c4d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lib/intercept.js
Expand Up @@ -48,15 +48,6 @@ function interceptorsFor(options) {
options.host = options.hostname;
}

// if (
// options.port && options.host.indexOf(':') < 0 &&
// (options.port !== 80 || options.proto !== 'http') &&
// (options.port !== 443 || options.proto !== 'https')
// ) {
// options.host += ":" + options.port;
// delete options.port;
// }

basePath = options.proto + '://' + options.host;
if (
options.port && options.host.indexOf(':') < 0 &&
Expand All @@ -66,8 +57,6 @@ function interceptorsFor(options) {
basePath += ":" + options.port;
}

console.log('basePath:', basePath)

return allInterceptors[basePath] || [];
}

Expand Down

0 comments on commit 7c54c4d

Please sign in to comment.