diff --git a/internal/ghmcp/server.go b/internal/ghmcp/server.go index 568af10d1..d33ca246c 100644 --- a/internal/ghmcp/server.go +++ b/internal/ghmcp/server.go @@ -374,7 +374,7 @@ func parseAPIHost(s string) (apiHost, error) { return apiHost{}, fmt.Errorf("host must have a scheme (http or https): %s", s) } - if strings.HasSuffix(u.Hostname(), "github.com") { + if u.Hostname() == "github.com" { return newDotcomHost() }
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: