From 97d32bdc37cfe3beaa556165f93092785a6087e1 Mon Sep 17 00:00:00 2001 From: Ruel Tmeizeh - RuhNet Date: Tue, 27 Feb 2024 02:23:33 -0500 Subject: [PATCH] Fixed SSH mode transfer of chain file in renew() --- actions.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actions.go b/actions.go index d7c4df9..4a70c2f 100644 --- a/actions.go +++ b/actions.go @@ -222,8 +222,8 @@ func renew() error { if server == appconf.Hostname { continue } - //domain_chain_location += ";ssh:" + appconf.Username + "@" + server + ":" + appconf.TLSChainFile - domain_chain_location += ";davs:leapi:" + appconf.SecretKey + ":" + server + ":" + syncPort + ":/api/file/upload/chain" + domain_chain_location += ";ssh:" + appconf.Username + "@" + server + ":" + appconf.TLSChainFile + //domain_chain_location += ";davs:leapi:" + appconf.SecretKey + ":" + server + ":" + syncPort + ":/api/file/upload/chain" } } else { //file sync type is HTTPS domain_chain_location += ";davs:" + appconf.Username + ":" + appconf.SecretKey + ":" + appconf.Hostname + ":" + appconf.HTTPS_ServerPort + ":/api/file/sync/chain"