Skip to content

Commit

Permalink
Add *.ghe.localhost domains to hosted server check
Browse files Browse the repository at this point in the history
  • Loading branch information
easyt committed Apr 13, 2023
1 parent b9a0b5d commit ae16281
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Runner.Sdk/Util/UrlUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public static bool IsHostedServer(UriBuilder gitHubUrl)
string.Equals(gitHubUrl.Host, "github.com", StringComparison.OrdinalIgnoreCase) ||
string.Equals(gitHubUrl.Host, "www.github.com", StringComparison.OrdinalIgnoreCase) ||
string.Equals(gitHubUrl.Host, "github.localhost", StringComparison.OrdinalIgnoreCase) ||
gitHubUrl.Host.EndsWith(".ghe.localhost", StringComparison.OrdinalIgnoreCase) ||
gitHubUrl.Host.EndsWith(".ghe.com", StringComparison.OrdinalIgnoreCase);
}

Expand Down

0 comments on commit ae16281

Please sign in to comment.