Content-Length: 730 | pFad | http://github.com/github/github-mcp-server/pull/675.patch

thub.com From 4d53e819d474ad8eb03cfe750f959c192db02f20 Mon Sep 17 00:00:00 2001 From: Jayant Tyagi Date: Thu, 10 Jul 2025 22:28:28 -0700 Subject: [PATCH] Fix GHES hostname pattern --- internal/ghmcp/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() }








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/github/github-mcp-server/pull/675.patch

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy