diff --git a/service_functions.py b/service_functions.py index 7e42b8f..512c445 100644 --- a/service_functions.py +++ b/service_functions.py @@ -97,12 +97,13 @@ class ServiceFunctions: password=password, ) - @staticmethod - def get_caddy_proxy_domains(domain_suffix: str, settings: ApplSettings) -> list[str]: + + def get_caddy_proxy_domains(self,domain_suffix: str) -> list[str]: """ Получает список reverse_proxy-доменов с Cudy через SSH и caddy adapt. """ + settings = self.load_config() command = [ "ssh",