Permalink
Browse files

remove log mesg

  • Loading branch information...
anthonyettinger committed Oct 6, 2012
1 parent 9118cb5 commit 9dc9150f26f2cbc25da032fe2a7facf916344733
Showing with 1 addition and 5 deletions.
  1. +0 −4 lib/express-force-domain.js
  2. +1 −1 package.json
@@ -2,13 +2,9 @@ var url = require('url');
module.exports = function(force_url){
var force_host = url.parse(force_url).host;
- console.log("force:");
- console.log(force_host);
return function(req, res, next) {
var requested_host = req.header("host");
- console.log('requested:');
- console.log(requested_host);
if ( requested_host == force_host ) {
next();
View
@@ -1,6 +1,6 @@
{
"name": "express-force-domain",
- "version": "0.0.1",
+ "version": "0.0.2",
"description": "Force express 3.x to use a specific domain. Good for adding or removing www. and handling parked domains that redirect to your main domain.",
"main": "./lib/express-force-domain.js",
"scripts": {

0 comments on commit 9dc9150

Please sign in to comment.