From eec19cc96ec94d23b4270d51d5babdf203a0fac5 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Mon, 15 May 2023 17:22:39 +0800 Subject: [PATCH] Update manage.py --- appmanage/api/service/manage.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/appmanage/api/service/manage.py b/appmanage/api/service/manage.py index 249abfe3..34ed8d26 100644 --- a/appmanage/api/service/manage.py +++ b/appmanage/api/service/manage.py @@ -856,9 +856,11 @@ def get_proxy_domain(app_id, domain): 'Content-Type': 'application/json' } response = requests.get(url, headers=headers) - myLogger.info_logger(response) + myLogger.info_logger(response.json()) for proxy in response.json(): portainer_name = proxy["forward_host"] + myLogger.info_logger(portainer_name) + myLogger.info_logger(proxy["domain_names"]) if customer_name == portainer_name: if domain in proxy["domain_names"]: myLogger.info_logger("find the domain proxy")