mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 10:17:15 +08:00
domain
This commit is contained in:
parent
b599b50082
commit
3976b99741
@ -10,7 +10,7 @@ COPY static ./static
|
|||||||
COPY requirements.txt main.py ./
|
COPY requirements.txt main.py ./
|
||||||
RUN apt update
|
RUN apt update
|
||||||
|
|
||||||
# Install supervisord
|
# Install supervisords
|
||||||
RUN apt install -y supervisor
|
RUN apt install -y supervisor
|
||||||
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||||
COPY config/cmd.sh /cmd.sh
|
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)
|
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"]:
|
#if response.json()["error"]:
|
||||||
# myLogger.info_logger(response.json())
|
# myLogger.info_logger(response.json())
|
||||||
# raise CommandException(const.ERROR_API_NGINX, response.json()["error"]["message"], "")
|
# raise CommandException(const.ERROR_API_NGINX, response.json()["error"]["message"], "")
|
||||||
|
Loading…
Reference in New Issue
Block a user