From 224fb045e9973e0ea5d95c9aad63cc39d6c7f0a3 Mon Sep 17 00:00:00 2001 From: Egor Matveev Date: Sun, 1 Jun 2025 15:06:22 +0300 Subject: [PATCH] fix --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 00587bf..6161356 100644 --- a/main.py +++ b/main.py @@ -22,11 +22,11 @@ def call(command: str) -> Response: def get_hosts() -> list[str]: - return list(set(configurator.get_config("hosts") + ["platform.chocomarsh.com"])) + return list(set(configurator.get_config("hosts") + ["platform.develop.chocomarsh.com"])) def update_host(host: str): - gen_cert = call(f"docker exec -it $(docker ps -q -f name=infra_nginx) certbot --nginx --email emmtvv@gmail.com --agree-tos -d \"{host}\"") + gen_cert = call(f"docker exec -it $(docker ps -q -f name=infra-development_nginx) certbot --nginx --email emmtvv@gmail.com --agree-tos -d \"{host}\"") if gen_cert.code != 0: print(f"failed generating certificate: {gen_cert.err}") return -- 2.45.2