From 266f585bc159bdfccd13f9c79146f07f456353ef Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Thu, 18 May 2023 14:43:43 +0800 Subject: [PATCH] app_id error --- appmanage/Dockerfile | 2 +- appmanage/api/service/manage.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appmanage/Dockerfile b/appmanage/Dockerfile index d6cf741e..ef28a3a5 100644 --- a/appmanage/Dockerfile +++ b/appmanage/Dockerfile @@ -10,7 +10,7 @@ COPY static ./static COPY requirements.txt main.py ./ RUN apt update -# Install supervisords +# Install supervisord RUN apt install -y supervisor COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf COPY config/cmd.sh /cmd.sh diff --git a/appmanage/api/service/manage.py b/appmanage/api/service/manage.py index a0772e26..14e54707 100644 --- a/appmanage/api/service/manage.py +++ b/appmanage/api/service/manage.py @@ -521,7 +521,7 @@ def get_url(app_name, easy_url): def get_admin_url(customer_name, url): admin_url = "" - path = "/data/apps/" + customer_name + path = "/data/apps/" + customer_name + "/.env" try: admin_path = list(docker.read_env(path, "APP_ADMIN_PATH").values())[0] admin_url = url + admin_path