diff --git a/shkeeper/modules/classes/bitcoin_like_crypto.py b/shkeeper/modules/classes/bitcoin_like_crypto.py index d5b9999..3cb4dfe 100644 --- a/shkeeper/modules/classes/bitcoin_like_crypto.py +++ b/shkeeper/modules/classes/bitcoin_like_crypto.py @@ -128,7 +128,8 @@ def dump_wallet(self): ).json(parse_float=Decimal) host, port = self.gethost().split(":") - return f"http://{host}:5555/{fname}" + nginx_url = environ.get(f"{self.crypto}_NGINX_URL", f"http://{host}:5555") + return f"{nginx_url}/{fname}" def get_all_addresses(self): response = requests.post(