removed assemed conf from jsonrpc
This commit is contained in:
parent
b85de64746
commit
5ba428d4ae
|
@ -18,13 +18,6 @@ function(log, jsonRPC, sockRPC, alerts) {
|
||||||
// pass (string): password for the http authentication if enabled
|
// pass (string): password for the http authentication if enabled
|
||||||
// }
|
// }
|
||||||
init: function(conf) {
|
init: function(conf) {
|
||||||
|
|
||||||
conf = conf || {
|
|
||||||
host: 'localhost',
|
|
||||||
port: 6800
|
|
||||||
};
|
|
||||||
conf.encrypt = conf.encrypt || false;
|
|
||||||
|
|
||||||
jsonRPC.init(conf);
|
jsonRPC.init(conf);
|
||||||
sockRPC.init(conf);
|
sockRPC.init(conf);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user