diff --git a/commands/compose.go b/commands/compose.go index cf4b1bff..26a330c9 100644 --- a/commands/compose.go +++ b/commands/compose.go @@ -88,7 +88,7 @@ func newUpCommand() *cobra.Command { case types.ModelRunnerEngineKindCloud: fallthrough case types.ModelRunnerEngineKindMoby: - _ = setenv("URL", fmt.Sprintf("http://%s:%d/engines/v1", standalone.gatewayIP, standalone.gatewayPort)) + _ = setenv("URL", fmt.Sprintf("http://%s:%d/engines/v1/", standalone.gatewayIP, standalone.gatewayPort)) default: return fmt.Errorf("unhandled engine kind: %v", kind) } diff --git a/commands/status.go b/commands/status.go index de448477..a2bff45f 100644 --- a/commands/status.go +++ b/commands/status.go @@ -82,7 +82,7 @@ func jsonStatus(standalone *standaloneRunner, status desktop.Status, backendStat case types.ModelRunnerEngineKindCloud: fallthrough case types.ModelRunnerEngineKindMoby: - endpoint = fmt.Sprintf("http://%s:%d/engines/v1", standalone.gatewayIP, standalone.gatewayPort) + endpoint = fmt.Sprintf("http://%s:%d/engines/v1/", standalone.gatewayIP, standalone.gatewayPort) default: return fmt.Errorf("unhandled engine kind: %v", kind) }