From 5494d2fd605c7b3d3b660a421fb25c169e15aa30 Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 10 Nov 2022 18:20:39 +0800 Subject: [PATCH] perf: update applet host deploy --- 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 8b415ece4..7845a16d6 100644 --- a/apps/terminal/automations/deploy_applet_host/__init__.py +++ b/apps/terminal/automations/deploy_applet_host/__init__.py @@ -31,12 +31,12 @@ class DeployAppletHostManager: bootstrap_token = settings.BOOTSTRAP_TOKEN host_id = str(self.deployment.host.id) if not base_site_url: - base_site_url = "localhost:8080" + base_site_url = "http://localhost:8080" with open(playbook_src) as f: plays = yaml.safe_load(f) for play in plays: play['vars'].update(self.deployment.host.deploy_options) - play['vars']['DownloadHost'] = base_site_url + '/download/' + play['vars']['DownloadHost'] = base_site_url + '/download' play['vars']['CORE_HOST'] = base_site_url play['vars']['BOOTSTRAP_TOKEN'] = bootstrap_token play['vars']['HOST_ID'] = host_id