Removed useless console.log
This commit is contained in:
parent
7437b2d631
commit
f2eec64452
|
@ -20,7 +20,6 @@ function(syscall, globalTimeout, alerts, utils, rootScope, uri, authconf, filter
|
|||
if(cookieConf) configurations.unshift(cookieConf);
|
||||
|
||||
if (['http', 'https'].indexOf(uri.protocol()) != -1 && uri.host() != 'localhost') {
|
||||
console.log(uri.host());
|
||||
configurations.push({
|
||||
host: uri.host(),
|
||||
path: '/jsonrpc',
|
||||
|
@ -39,7 +38,6 @@ function(syscall, globalTimeout, alerts, utils, rootScope, uri, authconf, filter
|
|||
path: authconf.path,
|
||||
encrypt: ( uri.protocol() == 'https' )
|
||||
});
|
||||
console.log(configurations);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -41,15 +41,11 @@ function(log, jsonRPC, sockRPC, alerts) {
|
|||
opts.error = opts.error || angular.noop;
|
||||
|
||||
if (sockRPC.initialized) {
|
||||
console.log('calling sock rpc');
|
||||
return sockRPC.invoke(opts);
|
||||
}
|
||||
else {
|
||||
console.log('calling json rpc');
|
||||
return jsonRPC.invoke(opts);
|
||||
}
|
||||
}
|
||||
};
|
||||
}]);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user