From d1d2e1796de1c31636169949f47fff9d048b4b2d Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Fri, 5 Apr 2019 05:40:16 -0700 Subject: [PATCH] Many things to update with the new Hush v3 --- lib/Hush/RPC.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Hush/RPC.pm b/lib/Hush/RPC.pm index e700c68..b2c22c1 100644 --- a/lib/Hush/RPC.pm +++ b/lib/Hush/RPC.pm @@ -8,9 +8,12 @@ use File::Spec::Functions; use URL::Encode qw/url_encode/; sub new { + # TODO: update ports my $port = $ENV{HUSH_RPC_PORT} || 8822; my $host = $ENV{HUSH_RPC_HOST} || "127.0.0.1"; my $HOME = $ENV{HOME}; + # TODO: support other OS's and custom config file path + # TODO: update to KMD AC location my $config = catfile($HOME, qw/.hush hush.conf/); my ($user,$password) = ('',''); if (-e $config) {