You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This ensures that GHES hostnames like "slack-github.com" are correctly identified as GitHub Enterprise Server instances rather than being treated as the public GitHub.com.
Alternative approaches:
I am not sure if public github hosts can have subdomains, but if needed a regex can be used to match host name patterns.
Add extra optional parameter like IS_GHES to explicitly indicate that this is a GHES instance.