perf: APPLET_DOWNLOAD_HOST 优化

pull/9409/head
Eric 2023-02-02 15:26:19 +08:00 committed by Jiangjie.Bai
parent 1c55bde8c8
commit 3341d55d1b
1 changed files with 2 additions and 2 deletions

View File

@ -50,11 +50,11 @@ class DeployAppletHostManager:
host_id = str(self.deployment.host.id)
if not site_url:
site_url = "http://localhost:8080"
if not download_host:
download_host = site_url
options = self.deployment.host.deploy_options
core_host = options.get("CORE_HOST", site_url)
core_host = core_host.rstrip("/")
if not download_host:
download_host = core_host
download_host = download_host.rstrip("/")
def handler(plays):