From dddb22c68f2c80aae25d508c6b5f77e1c6016e66 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Mon, 22 May 2023 09:05:49 +0800 Subject: [PATCH] admin_domain with http --- 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 ef28a3a5..d6cf741e 100644 --- a/appmanage/Dockerfile +++ b/appmanage/Dockerfile @@ -10,7 +10,7 @@ COPY static ./static COPY requirements.txt main.py ./ RUN apt update -# Install supervisord +# Install supervisords 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 2724d623..b944bafe 100644 --- a/appmanage/api/service/manage.py +++ b/appmanage/api/service/manage.py @@ -376,7 +376,7 @@ def get_apps_from_compose(): admin_path ="" if default_domain != "" and admin_path != "": - admin_domain_url = default_domain + admin_path + admin_domain_url = "http://" + default_domain + admin_path except IndexError: pass try: