mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 15:40:22 +00:00
domain
This commit is contained in:
parent
b599b50082
commit
3976b99741
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -802,7 +802,8 @@ def app_domain_add(app_id, domain):
|
|||
}
|
||||
|
||||
response = requests.post(url, data=json.dumps(data), headers=headers)
|
||||
myLogger.info_logger(response)
|
||||
myLogger.info_logger(response.json())
|
||||
myLogger.info_logger(response.json().get("error"))
|
||||
#if response.json()["error"]:
|
||||
# myLogger.info_logger(response.json())
|
||||
# raise CommandException(const.ERROR_API_NGINX, response.json()["error"]["message"], "")
|
||||
|
|
Loading…
Reference in a new issue