Skip to content

Commit 2ef0ff0

Browse files
authored
fix(sandbox): update default URLs to production endpoints (#52)
Switch default sandbox URLs from development hosts to the production endpoints.
1 parent 5b03229 commit 2ef0ff0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cmd/root/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func NewApp() *cli.App {
6767
Name: "sandbox-gateway",
6868
Usage: "SSH gateway address (<host:port>) used by `sandbox shell`",
6969
EnvVars: []string{"CREATEOS_SANDBOX_GATEWAY"},
70-
Value: "65.109.104.247:2222",
70+
Value: "gateway.sb.createos.sh:2222",
7171
},
7272
&cli.StringFlag{
7373
Name: "output",

internal/api/sandbox_client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
// sandbox surface lives on a different host from the main CreateOS API
99
// (api-createos.nodeops.network); these two clients are wired
1010
// side-by-side under app.Metadata.
11-
const DefaultSandboxBaseURL = "https://fc-spawn.bhautik.in"
11+
const DefaultSandboxBaseURL = "https://api.sb.createos.sh"
1212

1313
// SandboxClient wraps a resty.Client configured for the fc-spawn API.
1414
// Mirrors APIClient but targets the sandbox base URL and uses
@@ -72,4 +72,4 @@ func newSandboxClient(authHeader, token, sandboxURL string, debug bool, refreshe
7272
}
7373

7474
// SandboxClientKey is the cli.Context metadata key for the sandbox client.
75-
const SandboxClientKey = "sandbox_client"
75+
const SandboxClientKey = "sandbox_client" // #nosec G101 -- context metadata key, not a credential // pragma: allowlist secret

0 commit comments

Comments
 (0)