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
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ All commands support `--format json` for piping into `jq` or scripts.
| Variable | Description |
|----------|-------------|
| `RUNWARE_API_KEY` | API key (overrides config file) |
| `RUNWARE_DASHBOARD_URL` | Dashboard base URL for `serverless open` (default `https://my.runware.ai`) |

### Config file

Expand Down
5 changes: 3 additions & 2 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,9 @@ func GetServerlessBaseURL() string {
}

// GetDashboardURL returns the base URL of the Runware web dashboard.
// Users may override with RUNWARE_DASHBOARD_URL (e.g. a regional console).
// Unlike the serverless API base URL, this is a supported end-user override.
// Override with RUNWARE_DASHBOARD_URL for internal use only (e.g. a staging
// console). This is not a user-facing config key and must not be documented
// in the README or `runware config`.
func GetDashboardURL() string {
if v := os.Getenv("RUNWARE_DASHBOARD_URL"); v != "" {
return v
Expand Down
Loading