|
if strings.HasSuffix(u.Hostname(), "github.com") { |
|
return newDotcomHost() |
|
} |
It's possible for a Github Enterprise server to end in github.com, i.e. mycompanygithub.9909958.xyz, so any requests will still forward to api.github.com even if that's not the right hostname.
github-mcp-server/pkg/utils/api.go
Lines 213 to 215 in bbc675a
It's possible for a Github Enterprise server to end in
github.com, i.e.mycompanygithub.9909958.xyz, so any requests will still forward to api.github.com even if that's not the right hostname.