From f4fa6bf57233d5b47adcd9d0e6cdff66fe7de5ca Mon Sep 17 00:00:00 2001 From: hamza zia Date: Fri, 4 Mar 2016 11:01:26 -0800 Subject: [PATCH] lookup configuration rpc path by default --- js/services/rpc/rpc.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/js/services/rpc/rpc.js b/js/services/rpc/rpc.js index 758e621..928740a 100644 --- a/js/services/rpc/rpc.js +++ b/js/services/rpc/rpc.js @@ -33,6 +33,12 @@ function(syscall, time, alerts, utils, rootScope, uri, authconf) { port: uri.port(), path: '/jsonrpc', encrypt: ( uri.protocol() == 'https' ) + }, + { + host: uri.host(), + port: uri.port(), + path: authconf.path, + encrypt: ( uri.protocol() == 'https' ) }); console.log(configurations); }