Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Commit 6faca79

Browse files
authored
Merge pull request #117 from fiam/align_urls
fix: align DMR URLs to consistently include trailing slash
2 parents 536a638 + 13ea394 commit 6faca79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

commands/compose.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func newUpCommand() *cobra.Command {
8888
case types.ModelRunnerEngineKindCloud:
8989
fallthrough
9090
case types.ModelRunnerEngineKindMoby:
91-
_ = setenv("URL", fmt.Sprintf("http://%s:%d/engines/v1", standalone.gatewayIP, standalone.gatewayPort))
91+
_ = setenv("URL", fmt.Sprintf("http://%s:%d/engines/v1/", standalone.gatewayIP, standalone.gatewayPort))
9292
default:
9393
return fmt.Errorf("unhandled engine kind: %v", kind)
9494
}

commands/status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func jsonStatus(standalone *standaloneRunner, status desktop.Status, backendStat
8282
case types.ModelRunnerEngineKindCloud:
8383
fallthrough
8484
case types.ModelRunnerEngineKindMoby:
85-
endpoint = fmt.Sprintf("http://%s:%d/engines/v1", standalone.gatewayIP, standalone.gatewayPort)
85+
endpoint = fmt.Sprintf("http://%s:%d/engines/v1/", standalone.gatewayIP, standalone.gatewayPort)
8686
default:
8787
return fmt.Errorf("unhandled engine kind: %v", kind)
8888
}

0 commit comments

Comments
 (0)