This commit is contained in:
qiaofeng1227 2023-05-19 17:01:41 +08:00
parent cbba9975d9
commit 65faac42b4
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 supervisord
# Install supervisords
RUN apt install -y supervisor
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY config/cmd.sh /cmd.sh

View file

@ -559,7 +559,7 @@ def get_admin_url(customer_name, url):
admin_path = list(docker.read_env(path, "APP_ADMIN_PATH").values())[0]
admin_path = admin_path.replace("\"","")
admin_url = url + admin_path
except IndexError:
except Exception:
pass
return admin_url