mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 10:17:15 +08:00
set domain
This commit is contained in:
parent
599b8a055c
commit
5fc8e776a7
@ -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
|
||||||
|
@ -288,7 +288,7 @@ def AppDomainSet(request: Request, app_id: Optional[str] = Query(default=None, d
|
|||||||
get_headers(request)
|
get_headers(request)
|
||||||
ret = {}
|
ret = {}
|
||||||
ret['ResponseData'] = {}
|
ret['ResponseData'] = {}
|
||||||
manage.app_domain_set(app_id,domain)
|
manage.app_domain_set(domain,app_id)
|
||||||
ret['ResponseData']['AppID'] = app_id
|
ret['ResponseData']['AppID'] = app_id
|
||||||
except CommandException as ce:
|
except CommandException as ce:
|
||||||
ret = {}
|
ret = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user