Skip to content

Commit

Permalink
correct case
Browse files Browse the repository at this point in the history
  • Loading branch information
hickford committed Feb 24, 2024
1 parent 4a7b6c7 commit 2e2b2af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func main() {
fmt.Fprintln(os.Stderr, "input:", pairs)
}
host := pairs["host"]
looksLikeGitLab := strings.HasPrefix(host, "gitlab.") || strings.Contains(pairs["wwwauth[]"], `Realm="GitLab"`)
looksLikeGitLab := strings.HasPrefix(host, "gitlab.") || strings.Contains(pairs["wwwauth[]"], `realm="GitLab"`)
looksLikeGitea := strings.Contains(pairs["wwwauth[]"], `realm="Gitea"`)
looksLikeGitHub := strings.HasPrefix(host, "github.") || strings.Contains(pairs["wwwauth[]"], `realm="GitHub"`)
urll := fmt.Sprintf("%s://%s", pairs["protocol"], host)
Expand Down

0 comments on commit 2e2b2af

Please sign in to comment.