Skip to content
This repository
Browse code

remove log mesg

  • Loading branch information...
commit 9dc9150f26f2cbc25da032fe2a7facf916344733 1 parent 9118cb5
authored October 05, 2012
4  lib/express-force-domain.js
@@ -2,13 +2,9 @@ var url = require('url');
2 2
 
3 3
 module.exports = function(force_url){
4 4
 	var force_host = url.parse(force_url).host;
5  
-	console.log("force:");
6  
-	console.log(force_host);
7 5
 
8 6
 	return function(req, res, next) {
9 7
 		var requested_host = req.header("host");
10  
-		console.log('requested:');
11  
-		console.log(requested_host);
12 8
 
13 9
 		if ( requested_host == force_host ) {
14 10
 			next();
2  package.json
... ...
@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "express-force-domain",
3  
-  "version": "0.0.1",
  3
+  "version": "0.0.2",
4 4
   "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.",
5 5
   "main": "./lib/express-force-domain.js",
6 6
   "scripts": {

0 notes on commit 9dc9150

Please sign in to comment.
Something went wrong with that request. Please try again.