Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/root/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func NewApp() *cli.App {
Name: "sandbox-gateway",
Usage: "SSH gateway address (<host:port>) used by `sandbox shell`",
EnvVars: []string{"CREATEOS_SANDBOX_GATEWAY"},
Value: "65.109.104.247:2222",
Value: "gateway.sb.createos.sh:2222",
},
&cli.StringFlag{
Name: "output",
Expand Down
4 changes: 2 additions & 2 deletions internal/api/sandbox_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
// sandbox surface lives on a different host from the main CreateOS API
// (api-createos.nodeops.network); these two clients are wired
// side-by-side under app.Metadata.
const DefaultSandboxBaseURL = "https://fc-spawn.bhautik.in"
const DefaultSandboxBaseURL = "https://api.sb.createos.sh"

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

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