Skip to content
Merged
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
3 changes: 2 additions & 1 deletion pkg/cmd/login/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"net/http"
"net/url"
"os"
"path"

"github.com/bf2fc6cc711aee1a0c2a/cli/pkg/browser"

Expand Down Expand Up @@ -100,7 +101,7 @@ func runLogin(cmd *cobra.Command, _ []string) error {
// real URL:
gatewayURL, ok := urlAliases[args.url]
if !ok {
gatewayURL = args.url
gatewayURL = path.Clean(args.url)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this work in windows?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, it is a web URL, I would think the desktop environment does not matter here?

}

var authURL string
Expand Down