Skip to content
Snippets Groups Projects
Commit 6a2e4f82 authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

http_proxy is optional configuration, handle if it doesn't exist

parent 938c156f
No related branches found
No related tags found
No related merge requests found
......@@ -110,8 +110,9 @@ exports.checkSupport = function(domain, cb) {
});
};
// now we need to check to see if domain purports to being a primary for browserid
var httpProxy = config.get('http_proxy');
// now we need to check to see if domain purports to being a primary
// for browserid
var httpProxy = config.has('http_proxy') ? config.get('http_proxy') : null;
var req;
if (httpProxy && httpProxy.port && httpProxy.host) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment