From 3341d55d1b37183808e0e9535fd41f6d2346881d Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 2 Feb 2023 15:26:19 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20APPLET=5FDOWNLOAD=5FHOST=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/terminal/automations/deploy_applet_host/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/terminal/automations/deploy_applet_host/__init__.py b/apps/terminal/automations/deploy_applet_host/__init__.py index 00f63463b..164340098 100644 --- a/apps/terminal/automations/deploy_applet_host/__init__.py +++ b/apps/terminal/automations/deploy_applet_host/__init__.py @@ -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):