Permalink
Browse files

Fix var scope

  • Loading branch information...
1 parent 89ec3da commit cfad23837f18c5f869fd90035880c94d240886e1 @leppert committed Nov 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 server.js
View
@@ -11,7 +11,7 @@ var config = {
use_sockets: process.env.USE_SOCKETS !== 'false'
};
// make sure the redirect URL is a full URL with http://
-if(config.redirect_url && redirect_url.substring(0,4).toLowerCase() != 'http'){
+if(config.redirect_url && config.redirect_url.substring(0,4).toLowerCase() != 'http'){
config.redirect_url = 'http://'+config.redirect_url;
}
console.log('config', config);

0 comments on commit cfad238

Please sign in to comment.