Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix var scope

  • Loading branch information...
commit cfad23837f18c5f869fd90035880c94d240886e1 1 parent 89ec3da
@leppert authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  server.js
View
2  server.js
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.