mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-26 01:20:28 +00:00
set domain
This commit is contained in:
parent
599b8a055c
commit
5fc8e776a7
2 changed files with 2 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
|
||||
|
|
|
@ -288,7 +288,7 @@ def AppDomainSet(request: Request, app_id: Optional[str] = Query(default=None, d
|
|||
get_headers(request)
|
||||
ret = {}
|
||||
ret['ResponseData'] = {}
|
||||
manage.app_domain_set(app_id,domain)
|
||||
manage.app_domain_set(domain,app_id)
|
||||
ret['ResponseData']['AppID'] = app_id
|
||||
except CommandException as ce:
|
||||
ret = {}
|
||||
|
|
Loading…
Reference in a new issue