We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent caeaac7 commit 23b5790Copy full SHA for 23b5790
1 file changed
commands/property.go
@@ -21,6 +21,7 @@ import (
21
"errors"
22
"fmt"
23
"os"
24
+ "strings"
25
26
"github.com/fatih/color"
27
homedir "github.com/mitchellh/go-homedir"
@@ -471,7 +472,7 @@ func loadProperties() error {
471
472
}
473
474
if apiHost, hasProp := props["APIHOST"]; hasProp {
- Properties.APIHost = apiHost
475
+ Properties.APIHost = strings.TrimRight(apiHost, "/")
476
477
478
if apiHost := os.Getenv("WHISK_APIHOST"); len(apiHost) > 0 {
0 commit comments