From ff3afbd6d6ed7350bffbdfecc0f40a298f87ee77 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Fri, 16 Jun 2023 18:47:57 +0200 Subject: fix issue where we wouldn't properly configure `zen serve` to talk to a newly spawned server instance --- src/zen/cmds/serve.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/zen/cmds/serve.cpp b/src/zen/cmds/serve.cpp index 3a50adb69..72afc105d 100644 --- a/src/zen/cmds/serve.cpp +++ b/src/zen/cmds/serve.cpp @@ -110,7 +110,8 @@ ServeCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv) if (ServerInstance) { - ZEN_CONSOLE("base uri: {}", ServerInstance->GetBaseUri()); + m_HostName = ServerInstance->GetBaseUri(); + ZEN_CONSOLE("base uri: {}", m_HostName); } // Generate manifest for tree -- cgit v1.2.3