app_id error

This commit is contained in:
qiaofeng1227 2023-05-18 14:43:43 +08:00
parent 1f09830960
commit 266f585bc1
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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