We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa9eff3 commit 152c333Copy full SHA for 152c333
1 file changed
pkg/cfg/cfg.go
@@ -10,7 +10,11 @@ var Version = "dev"
10
var osInfo string
11
12
func GetHost() string {
13
- return "https://api.render.com/v1/"
+ baseHost := "api.render.com"
14
+ if host := os.Getenv("RENDER_HOST"); host != "" {
15
+ baseHost = host
16
+ }
17
+ return fmt.Sprintf("https://%s/v1", baseHost)
18
}
19
20
func GetAPIKey() string {
0 commit comments